[dylan] type checking errors related to raw values

Bruce Mitchener <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.devel
Message-ID <CA+esKjMT5zX2DtnDu4CYXOXdJ7ZFiN6-z6iAYGrG+_6Q+iXBhw@mail.gmail.com>
We have a few instances of type check warnings due to usage of raw types.
 I've run into this again in my Python/Dylan bridge:

Result type check can fail - values(<raw-machine-word>) inferred,
values(<object>) expected.

python-dylan.dylan:26:
------------------------------------------------------------------
python-dylan.dylan:27: define inline function as-raw-py-object (py-object
:: <py-object>)
python-dylan.dylan:28:  => (raw-py-object :: <raw-py-object>)
python-dylan.dylan:29:   py-object.raw-py-object
python-dylan.dylan:30: end;
python-dylan.dylan:31: ---

<raw-py-object> is just a <raw-machine-word> ... the code is doing exactly
what it should be doing, but the type checker is giving an invalid warning.
This happens when compiling Open Dylan itself in some other code as well.

Does anyone know much about this?

Thanks,

 - Bruce

_______________________________________________
hackers mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.