Rework notForIncompletionCall test
This commit is contained in:
committed by
Victor Petukhov
parent
ba93bdb14d
commit
cf161f8234
@@ -0,0 +1,17 @@
|
||||
// "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 main
|
||||
|
||||
class X {
|
||||
fun foo(p: String) {
|
||||
}
|
||||
|
||||
fun f(p: Int) {
|
||||
foo(<caret>p, )
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user