mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 19:22:37 +00:00
9 lines
132 B
Text
9 lines
132 B
Text
|
fun increment(x: int): int {
|
||
|
return self + 1;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@compilation_should_fail
|
||
|
@stderr using `self` in a non-member function
|
||
|
*/
|