apoch / epoch-language

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

Duplicate function names should not throw exceptions #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Defining two functions with the same name will cause an exception in 
Program::AddFunction in Program.cpp. This should be reported to the user as a 
semantic error instead.

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

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
This is actually OK because the exception only occurs when overload name 
mangling screws up. Converted to an InternalException and documented.

Original comment by don.ap...@gmail.com on 11 Apr 2012 at 7:29