gracelang / minigrace

Self-hosting compiler for the Grace programming language
39 stars 22 forks source link

Bad alias error message does not use canonical method name #307

Closed apblack closed 4 years ago

apblack commented 4 years ago

I get this message when an alias is bad:

naming.grace[365:42-63]: Syntax error: can't define an alias for newVisitAnnotations(1) because it is not present in the inherited object
 364:     inherit nameResolutionVisitor
 365:         alias superVisitAnnotations(_) = newVisitAnnotations(_)
-----------------------------------------------^^^^^^^^^^^^^^^^^^^^^^

It should say newVisitAnnotations(_)

apblack commented 4 years ago

Fixed in 18c81a88