Unexpected runtime ambiguity between bracket and map
BertLisser opened this issue · 0 comments
BertLisser commented
Created 2011-03-21 by Mark.Hills@cwi.nl assigned to jurgenv@cwi.nl
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.