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

11 lines
179 B
Text
Raw Normal View History

fun f<X>(v: int, x: X) {}
fun failCantDeduceWithoutArgument() {
return f(1);
}
/**
@compilation_should_fail
2025-02-11 18:49:26 +00:00
@stderr too few arguments in call to `f`, expected 2, have 1
*/