apoch / epoch-language

Home of the Epoch Programming Language Project
Other
72 stars 3 forks source link

Duplicate structure names should not throw exceptions #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following code causes an exception to be thrown in Program.cpp in the 
function Program::AddStructure:

structure foo : (integer(member))
structure foo : (string(other_member))

This should be reported to the user as a semantic error instead of throwing an 
exception.

Original issue reported on code.google.com by don.ap...@gmail.com on 15 Feb 2012 at 7:35

GoogleCodeExporter commented 9 years ago
Assigned to Release 12.

Original comment by don.ap...@gmail.com on 2 Apr 2012 at 4:15

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by don.ap...@gmail.com on 13 Apr 2012 at 5:08