Skip to content

Not a issue, just for learn, why lucky can check the const missing in the method definition. (Error: undefined constant SignIns::Delete) #1793

Answered by jwoertink
zw963 asked this question in Q&A
Discussion options

You must be logged in to vote

I think this is because one of the methods in the HTML builder ends up getting called during compilation. It's a bit complex, so I forget exactly the structure, but when link() gets called, it'll typecheck the arguments. This is part of why we say Lucky has a focus on compile-time safety 😄

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zw963
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