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-typing-16.tolk
2025-02-11 22:49:26 +04:00

10 lines
235 B
Text

import "@stdlib/tvm-dicts.tolk"
fun testCantCallDictMethodsOnNullable(c: cell) {
c.beginParse().loadDict().iDictDelete(16, 1);
}
/**
@compilation_should_fail
@stderr can not call method for `cell` with object of type `cell?`
*/