1
0
Fork 0
mirror of https://github.com/imjasonh/nescript synced 2026-07-11 18:20:47 +00:00

Parser: E0505 error on multiple 'start' declarations

Previously a second \`start X\` statement silently overrode the first.
Now emits E0505 at parse time.

https://claude.ai/code/session_01W6eQFStA66EuMKHUFo2rx3
This commit is contained in:
Claude 2026-04-12 10:59:06 +00:00
parent 814cbe54bd
commit 4e05c008ce
No known key found for this signature in database
3 changed files with 24 additions and 1 deletions

View file

@ -39,7 +39,6 @@ pub enum ErrorCode {
E0502, // undefined variable
E0503, // undefined function
E0504, // missing start declaration
#[allow(dead_code)]
E0505, // multiple start declarations
// W01xx: Warnings