View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0001108 | OpenClonk | Engine - C4Script | public | 2014-08-20 18:11 | 2017-10-25 13:56 | ||||||||
Reporter | Sven2 | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | confirmed | Resolution | open | ||||||||||
Product Version | |||||||||||||
Target Version | 9.0 | Fixed in Version | |||||||||||
Summary | 0001108: ERROR: internal error: var definition: var not found in variable table | ||||||||||||
Description | When a function is defined twice in the same script. E.g., create a new scenario with the following Script.c: func foo() { var bar; } func foo() {} The following error is displayed: ERROR: internal error: var definition: var not found in variable table | ||||||||||||
Additional Information | It might be good to warn the scripter that he has defined a function twice in the same script (unless it has happened from an #appendto or #include). | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files |
|
![]() |
|
Isilkor (developer) 2015-12-01 23:41 |
> It might be good to warn the scripter that he has defined a function twice in the same script (unless it has happened from an #appendto or #include). Is there a reason you're suggesting a warning instead of an error? I can't think of a reasonable way to handle this. |
Isilkor (developer) 2015-12-02 14:57 |
I'm moving this to 8.0 because it's neither a crash nor a bug that happens in normal use. |
Clonkonaut (developer) 2017-10-25 13:56 |
Moved to 9.0 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-08-20 18:11 | Sven2 | New Issue | |
2015-10-16 00:33 | Sven2 | Target Version | => 7.0 |
2015-11-30 12:32 | Clonkonaut | Status | new => confirmed |
2015-12-01 23:41 | Isilkor | Note Added: 0004218 | |
2015-12-02 14:57 | Isilkor | Note Added: 0004233 | |
2015-12-02 14:57 | Isilkor | Target Version | 7.0 => 8.0 |
2017-10-25 13:56 | Clonkonaut | Target Version | 8.0 => 9.0 |
2017-10-25 13:56 | Clonkonaut | Note Added: 0005811 |