[FIR] Throw REDECLARATION for duplicated value parameters in function

Add new test file
This commit is contained in:
Ivan Kochurkin
2021-07-24 17:50:11 +03:00
committed by Space
parent fd92b851a2
commit 9736cc162b
12 changed files with 379 additions and 34 deletions
@@ -40,7 +40,7 @@ fun bar() {
_ checkType { _<String>() }
}
foo { `_`, `_` ->
foo { <!REDECLARATION!>`_`<!>, <!REDECLARATION!>`_`<!> ->
_ checkType { _<String>() }
}