LLVM: Collisions between Mars constructor names and built-in type names

Bug #781510 reported by Matt Giuca
6
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.)

Tags: llvm

Related branches

Revision history for this message
Matt Giuca (mgiuca) wrote :

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.

Revision history for this message
Matt Giuca (mgiuca) wrote :

Fixed in branch 'llvm-backend' r1311.

Changed in mars:
status: Triaged → Fix Committed
Matt Giuca (mgiuca)
Changed in mars:
milestone: none → 1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.