You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first pass of parsing a file is reasonable, but leaves a lot of type deduction to the imagination. Now suppose that foo.m.py includes the following structure (where the types have been filled in):
However, I know that another function is going to use the bar structure, and it accesses member "three". If I try to properly specify the structure as:
then the next invocation of m2cpp will fail with AttributeError("'module' object has no attribute 'Declare'",). I also notice that there is a leftover .pyc file that isn't there when everything works.
See this isssue on StackOverflow for a hint on where the problem lies.
The text was updated successfully, but these errors were encountered:
The first pass of parsing a file is reasonable, but leaves a lot of type deduction to the imagination. Now suppose that
foo.m.py
includes the following structure (where the types have been filled in):Running
m2cpp
with this file works just fine.However, I know that another function is going to use the
bar
structure, and it accesses member "three". If I try to properly specify the structure as:then the next invocation of
m2cpp
will fail withAttributeError("'module' object has no attribute 'Declare'",)
. I also notice that there is a leftover .pyc file that isn't there when everything works.See this isssue on StackOverflow for a hint on where the problem lies.
The text was updated successfully, but these errors were encountered: