View Issue Details

IDProjectCategoryView StatusLast Update
0000740LDMud 3.6LPC Languagepublic2021-04-06 21:21
ReporterBardioc Assigned ToGnomi  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.3.718 
Fixed in Version3.6.4 
Summary0000740: foreach(int foo : foo) compiles without definition of 'foo' in outer scope
DescriptionI found this problem because of an error. If you write

   foreach (int foo : foo)
   {
   }

the compiler will compile this and it will not lead to any runtime error, just work. 'foo' has not been defined in an outer scope.

This is always reproducable in 3.5.0 (newest svn-revision)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-03-26 08:03 Bardioc New Issue
2012-12-05 19:35 zesstra Assigned To => zesstra
2012-12-05 19:35 zesstra Status new => confirmed
2012-12-05 19:35 zesstra Assigned To zesstra =>
2012-12-05 19:35 zesstra Severity major => minor
2020-09-01 21:01 Gnomi Assigned To => Gnomi
2020-09-01 21:01 Gnomi Status confirmed => assigned
2021-04-06 21:21 Gnomi Project LDMud => LDMud 3.6
2021-04-06 21:21 Gnomi Status assigned => resolved
2021-04-06 21:21 Gnomi Resolution open => fixed
2021-04-06 21:21 Gnomi Fixed in Version => 3.6.4