epoch-language icon indicating copy to clipboard operation
epoch-language copied to clipboard

Compiler: type safety for type-match/pattern-match overloads

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

It is not enforced that all type-match or pattern-match overloads return the 
same type. This can cause bogosity. Add type safety checks to ensure either:

 - All overloads return the same type

OR

 - Overloads are grouped by return type and the appropriate group is selected at compile time

Original issue reported on code.google.com by [email protected] on 5 Sep 2014 at 5:28

GoogleCodeExporter avatar Apr 21 '15 05:04 GoogleCodeExporter