Define what we mean by “syntactically legal”
Define what we mean by “syntactically legal”

Because the compiler’s grammar allows, for example,

    [String*, String*]

so that it can give the meaningful error message “Variant element must
occur last in a tuple type” instead of the generic “Incorrect syntax: no
viable alternative at token …”.

ceylon/ceylon.ast