adl icon indicating copy to clipboard operation
adl copied to clipboard

Make it OK to call fields reserved words e.g. "type"

Open latos opened this issue 7 years ago • 1 comments

latos avatar Jul 11 '17 05:07 latos

Do you mean fix the reserved word handling in the typescript backend? That is on the todo list.

If you mean that adl field names should be allow to be adl reserved words:

https://github.com/timbod7/adl/blob/master/haskell/compiler-lib/src/ADL/Compiler/ParserP.hs#L55

then I'm less keen on that. I think reserved words should be reserved for their syntactic purpose.

timbod7 avatar Jul 18 '17 11:07 timbod7