pluralia
pluralia
I'll look into this.
I like the idea (especially for alternatives), but can't catch a role of `AbstractFunc`. Could you explain how is it used? How I understand, proposed syntax for rule alternatives replaces...
We can generate "a type system template" automatically in the strict mode. So, we just infer types like in the "default" mode and put them in separate `.langium` file. As...
In my opinion, we can't relax this. The property of declared types is ability to "lift" all the types from `ast.ts` to the level of grammar, so the user can...
The inferred type will be `type XPropertyType = string` and information about `number` will be lost. Also, the generated `XType` will has property `x: Array` instead of `x: Array`. Would...
> I would personally prefer an array of strings over mixed strings and numbers, so yes I think the restriction should be ok. The ability to have an array of...
@Lotes, I take it. Thank you for your work!
Can be resolved by types declaration. Depends on #510.
@msujew The problem in the example appears in the dummy rule -- we could try to replace it with declared types and solve the problem. Declared types with validation implemented...
Closing this issue should includes supporting union types [here](https://github.com/langium/langium/issues/492).