Skip to content

Is "type" keyword accepted as identifier ? #511

Answered by hishamhm
mingodad asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it is intended and not a bug. type is not a hard keyword, it is a soft keyword (i.e., context-sensitive). All Teal keyword additions are intended as soft keywords, to minimize compatibility issues with existing Lua libraries.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mingodad
Comment options

@hishamhm
Comment options

@mingodad
Comment options

Answer selected by hishamhm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #510 on March 21, 2022 14:30.