master
import std.runtime function fun_a() { print(runtime.get_stack()) } fun_b = () => { fun_a(); } function decorator(fn) { return () => { print("called decorated function") fn() } } fun_c = decorator(fun_b) fun_c()