Rework notForIncompletionCall test

This commit is contained in:
victor.petukhov
2019-11-15 12:10:08 +03:00
committed by Victor Petukhov
parent ba93bdb14d
commit cf161f8234
4 changed files with 39 additions and 16 deletions
@@ -0,0 +1,13 @@
// "Import" "true"
// 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'
// COMPILER_ARGUMENTS: -XXLanguage:+TrailingCommas
package other
import main.X
fun X.foo(p: Int) {
}