mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Fix overload resolution ambiguity in REPL. Note, resolution for functions declared in script is very different from regular programs: in scripts function declared later wins. See functionOverloadResolutionAnyBeatsString for example. #KT-2272 Fixed
7 lines
61 B
Plaintext
7 lines
61 B
Plaintext
>>> fun foo() = 10
|
|
null
|
|
>>> fun foo() = 11
|
|
null
|
|
>>> foo()
|
|
11
|