[Bug]: Model properties called const
without backticks no longer valid - undocumented breaking change in 0.57
#3583
Labels
const
without backticks no longer valid - undocumented breaking change in 0.57
#3583
Describe the bug
Since 0.57 a model with a property (incidentally) called
const
no longer compiles unless it is wrapped in backticks.In 0.56 this was allowed. In 0.57, presumably the change has come about because of the new
const
language functionality.I have assumed here that this is therefore an intentional behavioural change, so have concluded it's just missing from the release notes 🙂. This had me confused for a little while.
But also probably need someone to chime in in case this wasn't actually expected.
Reproduction
const
model property - no quotesconst
model property - no quotesconst
model property - with backticksAs you can see between first two repro's theres a potential breaking change here.
Checklist
The text was updated successfully, but these errors were encountered: