Open pksunkara opened 8 years ago
According to MSON specification, (
and )
are not used for included mixins at all. The syntax is + Include A
not + Include (A)
. No type attributes are permitted. We should make the parser stricter.
What? Type Definition
is allowed according to your own screenshot. Type Definition
contains Type Attributes
. This has been like this since the beginning.
fixed
,required
andoptional
are allowed for mixin definitions.Input
Output
Expected
There should
typeAttributes: ["optional"]
somewhere in there.