gracelang / minigrace

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

The ellipsis ... is mis-understood in interface literals #279

Closed apblack closed 4 years ago

apblack commented 5 years ago

In an interface literal, ..., used to indicate that the literal is incomplete, is mis-understood to be the definition of an ... operation.

This can't be right, not only because ... is supposed to be reserved, but because, to be a legal method name, one would have to write prefix ... under the current syntax.