with console fixed from std:io#myMethod()funcmethod1(x)out("Hello from method1 (invoked by {})".format(x))end
main.hd
with annotations from std:internalswith myScript.hd as scriptannotations.findMethodInProto("myMethod",script).target("main.hd")//Output: Hello from method1 (invoked by main.hd)