1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

[FunC] Produce an error on get methods hash (method_id) collision

This commit is contained in:
Aleksandr Kirsanov 2024-05-21 17:50:06 +03:00
parent 7b8268d99f
commit 8932c515c9
No known key found for this signature in database
GPG key ID: B758BBAA01FFB3D3
4 changed files with 23 additions and 2 deletions

View file

@ -28,7 +28,7 @@ using namespace std::literals::string_literals;
*/
int glob_func_cnt, undef_func_cnt, glob_var_cnt, const_cnt;
std::vector<SymDef*> glob_func, glob_vars;
std::vector<SymDef*> glob_func, glob_vars, glob_get_methods;
std::set<std::string> prohibited_var_names;
SymDef* define_builtin_func_impl(const std::string& name, SymValAsmFunc* func_val) {