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
I am sorry for the basic question, but I am not good at reading meta-programming (yet?!).
I can use the @forward macro to generate methods (let's say mylazy here) that applies to a field of all the subtypes of an abstract type. However, how is the method generated? In the following code, the second and third options are definitely better.
I am sorry for the basic question, but I am not good at reading meta-programming (yet?!).
I can use the
@forward
macro to generate methods (let's saymylazy
here) that applies to a field of all the subtypes of an abstract type. However, how is the method generated? In the following code, the second and third options are definitely better.The text was updated successfully, but these errors were encountered: