[FIR] Report CONFLICTING_OVERLOADS for local functions
^KT-59186 Fixed
This commit is contained in:
committed by
Space Team
parent
6fa5363cf4
commit
cf655fd5ad
@@ -0,0 +1,12 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-59186
|
||||
|
||||
fun main() {
|
||||
<!CONFLICTING_OVERLOADS!>fun p () : Char<!> {
|
||||
return 'c'
|
||||
}
|
||||
|
||||
<!CONFLICTING_OVERLOADS!>fun p () : Float<!> {
|
||||
return 13.0f
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user