#Reflection on private decls
1 messages · Page 1 of 1 (latest)
private fields are not a thing
Sorry, I meant decls.
you also cannot reify decls
yeah i dont see how youd do this in any capacity
Well that sucks. I guess I should just stick to Haskell and monads :/.
@glossy fossil @split fable Do either of you have any idea to make this work in Zig?
Because the logging facilities in std are very unextensible. Can I view the stack frames and log those out?
im not sure what that means, what is your usecase and what type of logs are you trying to get?
Reflection on private decls
I want to be able to log out the state of the self field (and perhaps the inputs/outputs) of each method call.
patching code locally is much less useful than upstreaming good changes or making alternatives that fit your use case