// FILE: first.before.kt // "Import" "false" // ERROR: The feature "trailing commas" is only available since language version 1.4 // ERROR: Type mismatch: inferred type is Int but String was expected // ACTION: Add 'toString()' call // ACTION: Change parameter 'p' type of function 'foo' to 'Int' // ACTION: Create function 'foo' package main class X { fun foo(p: String) { } fun f(p: Int) { foo(p, ) } } // FILE: second.kt package other import main.X fun X.foo(p: Int) { }