mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 19:22:37 +00:00
11 lines
228 B
Text
11 lines
228 B
Text
|
fun eq<X>(t: X) { return t; }
|
||
|
|
||
|
fun failUsingGenericFunctionPartially() {
|
||
|
var cb = createEmptyTuple().eq().eq().tuplePush;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@compilation_should_fail
|
||
|
@stderr can not use a generic function `tuplePush<T>` as non-call
|
||
|
*/
|