1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-15 04:32:21 +00:00
ton/tolk-tester/tests/invalid-generics-1.tolk
2025-02-11 22:49:26 +04:00

10 lines
179 B
Text

fun f<X>(v: int, x: X) {}
fun failCantDeduceWithoutArgument() {
return f(1);
}
/**
@compilation_should_fail
@stderr too few arguments in call to `f`, expected 2, have 1
*/