[FIR] Throw REDECLARATION for duplicated value parameters in function
Add new test file
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ fun bar() {
|
||||
_ checkType { _<String>() }
|
||||
}
|
||||
|
||||
foo { `_`, `_` ->
|
||||
foo { <!REDECLARATION!>`_`<!>, <!REDECLARATION!>`_`<!> ->
|
||||
_ checkType { _<String>() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user