AnyDSL / thorin

The Higher-Order Intermediate Representation
https://anydsl.github.io
GNU Lesser General Public License v3.0
150 stars 15 forks source link

Invalid casts can result in assertion failure #5

Closed RalfJung closed 8 years ago

RalfJung commented 10 years ago

Invalid casts can result in an assertion failure in thorin. That's highlight frustrating, as it quickly happens and it's fairly hard to figure out which part of the source triggers the problem. See the last commit in https://github.com/AnyDSL/imbatracer/commits/impala-cast for an example.

richardmembarth commented 8 years ago

This has been resolved in the meantime:

imbatracer/src/main/instance.impala:20 col 34 - 48: error: invalid source and destination types for cast operator, got 'Instance' and '&u8'