1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-15 04:32:21 +00:00
ton/crypto/func/auto-tests/tests
Aleksandr Kirsanov 7b8268d99f
[FunC] Deprecate method_id specifier, introduce get keyword
`get` keyword behaves exactly like `method_id` (auto-calc hash),
but it's placed on the left, similar to Tact: `get T name()`.

`method_id(n)` is still valid, considering it can't be invoked by name,
since a client will compute another hash.
It's supposed it will be still used in tests and in low-level code
(not to be called externally, but to be called after replacing c3).

`get(hash)` is invalid, this keyword does not accept anything.
2024-06-14 15:22:59 +03:00
..
a6.fc [FunC] Apply camelCase to some tests to ensure code_hash remains unchanged 2024-06-14 15:22:57 +03:00
a6_1.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
a6_5.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
a7.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
a10.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
allow_post_modification.fc [FunC] Deprecate pragma compute-asm-ltr 2024-06-14 15:22:58 +03:00
asm_arg_order.fc [FunC] Deprecate pragma compute-asm-ltr 2024-06-14 15:22:58 +03:00
builtin-keyword.fc [FunC] Add builtin keyword to be used in stdlib later on 2024-06-14 15:22:58 +03:00
c2.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
c2_1.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
camel1.fc [FunC] Deprecate pragma compute-asm-ltr 2024-06-14 15:22:58 +03:00
camel2.fc [FunC] Deprecate pragma compute-asm-ltr 2024-06-14 15:22:58 +03:00
camel3.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
camel4.fc [FunC] Deprecate method_id specifier, introduce get keyword 2024-06-14 15:22:59 +03:00
co1.fc [FunC] Deprecate pragma compute-asm-ltr 2024-06-14 15:22:58 +03:00
code_after_ifelse.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
codegen_check_demo.fc [FunC] Enrich testing framework, add fif output patterns 2024-06-14 15:22:56 +03:00
comments.fc [FunC] Convert stdlib.fc to traditional-style //comments 2024-06-14 15:22:57 +03:00
inline_big.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
inline_if.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
inline_loops.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
invalid-builtin-1.fc [FunC] Add builtin keyword to be used in stdlib later on 2024-06-14 15:22:58 +03:00
invalid-cmt-eof.fc [FunC] Support traditional // and /**/ comments 2024-06-14 15:22:57 +03:00
invalid-get-method-1.fc [FunC] Deprecate method_id specifier, introduce get keyword 2024-06-14 15:22:59 +03:00
invalid-pure-1.fc [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
invalid-pure-2.fc [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
invalid-pure-3.fc [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
invalid-undef-1.fc [FunC] Forbid auto-creating undefined symbols 2024-06-14 15:22:57 +03:00
invalid-undef-2.fc [FunC] Forbid auto-creating undefined symbols 2024-06-14 15:22:57 +03:00
invalid-undef-3.fc [FunC] Forbid auto-creating undefined symbols 2024-06-14 15:22:57 +03:00
invalid.fc [FunC] Enrich and refactor testing framework, add negative tests 2024-06-14 15:22:56 +03:00
method_id.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
op_priority.fc [FunC] Change priority of & | ^ operators to a more intuitive one 2024-06-14 15:22:59 +03:00
pure-functions.fc [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
remove-unused-functions.fc [FunC] Add pragma remove-unused-functions for simple dead code elimination 2024-06-14 15:22:58 +03:00
s1.fc [FunC] Deprecate method_id specifier, introduce get keyword 2024-06-14 15:22:59 +03:00
test-math.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
try-func.fc [FunC] Enrich testing framework, add code hash checking 2024-06-14 15:22:57 +03:00
unbalanced_ret.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
unbalanced_ret_inline.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
unbalanced_ret_loops.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
unbalanced_ret_nested.fc [FunC] Apply camelCase to some tests to ensure code_hash remains unchanged 2024-06-14 15:22:57 +03:00
w1.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
w2.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
w6.fc [FunC] Enrich testing framework, add code hash checking 2024-06-14 15:22:57 +03:00
w7.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
w9.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00