Commit 885277a
Fix misleading static_assert when extra args have wrong type (#837)
When registerNodeType is called with extra constructor arguments of the
wrong type, the compiler now reports that the extra arguments don't match
instead of the misleading "you MUST add a constructor" message.
Also remove stale script_tokenizer.cpp reference from CMakeLists.txt.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 8c18a27 commit 885277a
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
399 | 412 | | |
400 | 413 | | |
401 | 414 | | |
| |||
0 commit comments