apoch / epoch-language

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

Duplicate function parameter names should not throw exceptions #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The function "bletch : integer foo, integer foo" currently causes an exception 
to be thrown in Function::AddParameter in the semantic analysis IR generation 
pass.

This should be reported to the user as a semantic error.

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

GoogleCodeExporter commented 9 years ago
Assigned to Release 12.

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

GoogleCodeExporter commented 9 years ago
Fixed, along with the introduction of a nicer mechanism for recording semantic 
errors in general.

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