mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
11 lines
175 B
Text
11 lines
175 B
Text
|
fun f<T>(v: int, x: T) {}
|
||
|
|
||
|
fun failCantDeduceWithPlainNull() {
|
||
|
return f(0, null);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@compilation_should_fail
|
||
|
@stderr can not deduce T for generic function `f<T>`
|
||
|
*/
|