fmease / lushui

The reference compiler of the Lushui programming language
Apache License 2.0
7 stars 0 forks source link

Use all #52

Open fmease opened 3 years ago

fmease commented 3 years ago

Meta: Expand.

Should only be allowed in prototyping mode #53 or a deny-by-default lint.

Example

Meta: Expand.

@prototyping
module

use Thing._

data Thing: Type of
    first: Thing
    second: Thing

thing: Thing = second

It would be better if we would not use the short and convenient _ but a longer keyword like everything, entirety, ….