b7e5d9faae
Disable annotation rendering in default type and descriptor renderers. Preserve annotations in Android and Serialization plugins. Update error texts in ide tests. Nullability annotations in Java descriptors are rendered with context-dependent renderer. #KT-20258 Fixed
14 lines
691 B
Plaintext
Vendored
14 lines
691 B
Plaintext
Vendored
// REPL_MODE: false
|
|
|
|
foo.forEach { // ERROR: Unresolved reference: foo; Overload resolution ambiguity: ...
|
|
1 + 1
|
|
}
|
|
|
|
fun goo(a: String) { // ERROR: Unresolved reference: goo
|
|
super.goo(a)
|
|
}
|
|
/** unresolvedMultiline.kts:3 Unresolved reference: foo */
|
|
/** unresolvedMultiline.kts:3 Overload resolution ambiguity:
|
|
public inline fun <T> Iterable<TypeVariable(T)>.forEach(action: (TypeVariable(T)) -> Unit): Unit defined in kotlin.collections
|
|
public inline fun <K, V> Map<out TypeVariable(K), TypeVariable(V)>.forEach(action: (Map.Entry<TypeVariable(K), TypeVariable(V)>) -> Unit): Unit defined in kotlin.collections */
|
|
/** unresolvedMultiline.kts:7 Unresolved reference: goo */ |