@quenk/wml 2.12.0 → 2.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/parse/generated.js +1539 -1486
- package/lib/parse/wml.y +7 -1
- package/package.json +1 -1
package/lib/parse/wml.y
CHANGED
|
@@ -459,7 +459,7 @@ non_function_type
|
|
|
459
459
|
|
|
460
460
|
| record_type
|
|
461
461
|
{ $$ = $1; }
|
|
462
|
-
|
|
462
|
+
|
|
463
463
|
| list_type
|
|
464
464
|
{ $$ = $1; }
|
|
465
465
|
|
|
@@ -473,6 +473,12 @@ constructor_type
|
|
|
473
473
|
|
|
474
474
|
| unqualified_constructor type_parameters
|
|
475
475
|
{ $$ = new yy.ast.ConstructorType($1, $2, @$); }
|
|
476
|
+
|
|
477
|
+
| qualified_constructor
|
|
478
|
+
{ $$ = new yy.ast.ConstructorType($1, [], @$); }
|
|
479
|
+
|
|
480
|
+
| qualified_constructor type_parameters
|
|
481
|
+
{ $$ = new yy.ast.ConstructorType($1, $2, @$); }
|
|
476
482
|
;
|
|
477
483
|
|
|
478
484
|
record_type
|