@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/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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenk/wml",
3
- "version": "2.12.0",
3
+ "version": "2.12.1",
4
4
  "description": "(WML) is a DSL for describing user interfaces in web applications.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {