Created 2011-03-21 by [email protected] assigned to [email protected]
Running the code in the name resolver for Rascal I'm getting a runtime unexpected ambiguity error. This occurs when I try to run this code:
public str prettyPrintSIWLoc(STBuilder st, Item si) {
return prettyPrintSI(st,si) + ( TopScope() := si ? "" : " defined at <si.definedAt>" );
}
I'm able to load the module this code is in and import it into another module, so i"m not sure why I'm just finding the ambiguity at runtime.