You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* WIP: Demonstrate @genType issue with module aliasesgi
See rescript-lang#6112
* add the option to use the `@genType` annotation at the module level
* Don't need wrapper to be a separate file.
* Resolve module aliases in local modules.
* Back to having the alias in an separate file.
* Expand module aliases.
when a module alias is created
```res
module A = B
```
expand the definition of B (as in an include) for genType's purposes
* Update CHANGELOG.md
Fixesrescript-lang#6112
- Customization of runtime representation of variants. This is work in progress. E.g. some restrictions on the input. See comments of the form "TODO: put restriction on the variant definitions allowed, to make sure this never happens". https://github.com/rescript-lang/rescript-compiler/pull/6095
- GenType: add the option to use the `@genType` annotation at the module level, meaning that all the items in the module should be exported. https://github.com/rescript-lang/rescript-compiler/pull/6113
36
+
- GenType: add support for `@genType` annotations on module definitions. https://github.com/rescript-lang/rescript-compiler/pull/6113
35
37
36
38
#### :boom: Breaking Change
37
39
@@ -69,6 +71,7 @@ These are only breaking changes for unformatted code.
69
71
- Fix parsing uncurried type starting with path https://github.com/rescript-lang/rescript-compiler/pull/6089
- Fixed a bug where the async attribute was not preserved when using the `@this` decorator in ReScript functions. This fix allows proper handling of async functions with the `@this` decorator. Issue: https://github.com/rescript-lang/rescript-compiler/issues/6100
74
+
- Fix issue with GenType and module aliases https://github.com/rescript-lang/rescript-compiler/issues/6112
0 commit comments