chapel-lang / pychapel

pych - The Python/Chapel integration module. NOTE: This repository is now deprecated.
Apache License 2.0
16 stars 13 forks source link

Bug in modularizing Chapel file #15

Open lydia-duncan opened 9 years ago

lydia-duncan commented 9 years ago

I ran:

pych --compile docs/source/examples/sfiles/chapel/hellolib.exported.chpl

and the output was:

AttributeError: 'bool' object has no attribute 'startswith'

from specializer.py line 58, from specializer.py line 80, from compiler.py line 189

lydia-duncan commented 9 years ago

Could be another Python 2.6.9 compatibility issue

thomasvandoren commented 9 years ago

This looks like a real bug (i.e. something expects a string and calls .startswith() on it, but it is instead getting a bool).

lydia-duncan commented 9 years ago

For sure. I just haven't dived into debugging it - that area of the code strikes me as a little hairy, and I think we have other priorities on what to do next. I did alert Simon to this, though, so we'll see what he thinks.