Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithJsStdLib
/
name
/
classAndFunction.kt
blob: c010c14cde0cc3a455bef7f23ff33bc75e47c5ae [
file
]
// In K2, the name collision detector is weakened, because the backend started to resolve such collisions.
// K1 was not changed since it's in maintenance mode.
package
foo
class
<!
JS_NAME_CLASH
!>
A
(
val x
:
Int
)<!>
<!
JS_NAME_CLASH
!>
fun A
()<!>
{}