You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And call jkl<boo>.read_boo_this_tmp(this) we want this.tmp to resolve to jkl-tmp, but currently the only macro that is made for read_boot_this_tmp is (macro boo-read_boo_this_tmp ((type this) (type source)) (allow source boo-tmp (file (read)))).
Thus we will need to create a new macro for each casted call to have the correct this.* resolution. In the above case: (macro jkl-read_boo_this_tmp ((type this) (type source)) (allow source jkl-tmp (file (read))))
Some more wordage from dburgener:
The macros come from the FunctionInfos. Each FunctionInfo creates exactly one macro from that fi. So in order to create a new macro, you'd want to make a copy of the original FunctionInfo, with changes as needed and then add it into the FunctionMap, then everything else proceeds from there. Ideally we'd make the name of the macro be something with reserved characters so it can't possibly be explicitly referred to in the source, but also something at least vaguely sensible to someone interacting at the CIL level, for cross-language compatibility purposes. (Although, we're definitely going to need some sort of shim for that aspect in the long run I think. There's probably not a solution to the cross-language aspect that's 100% as clean as we'd like)
This should be done as part of 0.1
The text was updated successfully, but these errors were encountered:
If we have a function like:
And call
jkl<boo>.read_boo_this_tmp(this)
we wantthis.tmp
to resolve tojkl-tmp
, but currently the only macro that is made for read_boot_this_tmp is(macro boo-read_boo_this_tmp ((type this) (type source)) (allow source boo-tmp (file (read))))
.Thus we will need to create a new macro for each casted call to have the correct this.* resolution. In the above case:
(macro jkl-read_boo_this_tmp ((type this) (type source)) (allow source jkl-tmp (file (read))))
Some more wordage from dburgener:
This should be done as part of 0.1
The text was updated successfully, but these errors were encountered: