Skip to content

Unexpected runtime ambiguity between bracket and map #93

@BertLisser

Description

@BertLisser

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions