Check for repeated argument names to functions
(PT-159592825)
This commit is contained in:
@@ -40,3 +40,5 @@ contract Test =
|
||||
|
||||
function type_error(r, x) =
|
||||
set_x(set_x(x, r), x)
|
||||
|
||||
function repeated_arg(x : int, y, x : string, y : bool) : string = x
|
||||
|
||||
Reference in New Issue
Block a user