LLVM: Collisions between Mars constructor names and built-in type names
Bug #781510 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mars |
Fix Committed
|
Medium
|
Matt Giuca |
Bug Description
A Mars constructor called "Int", "Array", "Func" or "Any" will cause a compile-time error, because the LLVM backend attempts to create a type with the name of each constructor.
Either disambiguate the built-in types or the constructor names. (Disambiguating the types would be consistent with the functions, but require a lot of effort to type.)
Related branches
Changed in mars: | |
milestone: | none → 1.0 |
To post a comment you must log in.
This doesn't happen for Int, but it does for the other three (Array, Func, Any).
This is blocking the merge of the llvm branch into trunk.