Jean-Baptiste Queru | b56ea2a | 2013-01-08 11:11:20 -0800 | [diff] [blame] | 1 | <error descr="Method with signature foo(String, int) is already defined in the class 'MethodDuplicates'">def foo(String s = "a", int i, double y = 4)</error> { |
2 | |||||
3 | } | ||||
4 | |||||
5 | def foo(int i, double y) {} | ||||
6 | |||||
7 | <error descr="Method with signature foo(String, int) is already defined in the class 'MethodDuplicates'">def foo(String s, int i)</error> {} | ||||
8 | |||||
9 | def foo(String s, double y){} |