Anonymous Login
2018-12-16 10:44 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001108OpenClonkEngine - C4Scriptpublic2017-10-25 13:56
ReporterSven2 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
Product Version 
Target Version9.0Fixed in Version 
Summary0001108: ERROR: internal error: var definition: var not found in variable table
DescriptionWhen 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 InformationIt 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).
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0004218

Isilkor (developer)

> 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.

~0004233

Isilkor (developer)

I'm moving this to 8.0 because it's neither a crash nor a bug that happens in normal use.

~0005811

Clonkonaut (developer)

Moved to 9.0
+Notes

-Issue History
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
+Issue History