Function symbols should include child contracts #417

Closed
opened 2022-09-16 17:43:28 +09:00 by zxq9 · 0 comments
zxq9 commented 2022-09-16 17:43:28 +09:00 (Migrated from gitlab.com)

Created by: radrow

Speaking about aeb_fate_code:symbols. Currently the compiler returns a map of functions only for the functions in the main contracts, entirely dropping all child contract meta info. For instance

contract Child =
  function f() = 123

main contract Main =
  function g() = 321

Would return a symbols map

#{<<"uglyhash!@#!">> => "g"}

instead of

#{<<"whereami$@#!">> => "f"
 , <<"uglyhash!@#!">> => "g"}
*Created by: radrow* Speaking about `aeb_fate_code:symbols`. Currently the compiler returns a map of functions only for the functions in the main contracts, entirely dropping all child contract meta info. For instance ``` contract Child = function f() = 123 main contract Main = function g() = 321 ``` Would return a symbols map ``` #{<<"uglyhash!@#!">> => "g"} ``` instead of ``` #{<<"whereami$@#!">> => "f" , <<"uglyhash!@#!">> => "g"} ```
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: QPQ-AG/sophia#417
No description provided.