Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Getting an error "PROC:<{:procedure already defined" while running `toncli run_tests` command

When I execute the toncli run_tests command I get an error:

toncli run_tests      
INFO: 🌈 Start tests
INFO: 🥌 Build successfully, check out ./build
Loading private key from file build/contract.pk

[ 1][t 0][2023-01-07 06:04:18.928127][Fift.cpp:67]	top: abort
level 1: swap { <continuation 0x600003e40d20> } if **HERE** drop 
level 2: [in @PROC:<{:] over @fail-ifdef **HERE** 2 { <continuation 0x600003e64720> } does null swap @doafter<{ 0 32 u, 
level 3: <text interpreter continuation>
level 4: <continuation 0x600003e6c1e0>
level 5: <text interpreter continuation>
[ 1][t 0][2023-01-07 06:04:18.928147][fift-main.cpp:204]	Error interpreting file `/var/folders/rq/zr74jh517sbcgn11282s_khm0000gp/T/tmp2_6x23dj.fif`: contract_tests.fif:2059:	PROC:<{:procedure already defined

What may be its cause and what should I do about it?

Votes Newest

Answers


You have declared some function which is already declared in toncli libraries. List of these libraries is available in their sources on Github:

Usually it happens when you redeclare some function from stdlib.func or math.func

  
  
Posted one year ago
Daniil Sedov
233 × 6 Administrator
18K Views
1 Answer
one year ago
one year ago
Tags