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
Default values are stored in default getter functions. These have to be looked up explicitly at the moment. We plan an overhaul of default values at some point in the future where we would not rely on default getters anymore. At that point, we should make sure that default arguments can be accessed from reflection.
Compiler version
3.1.2-RC1-bin-20211205-94f4118-NIGHTLY
Minimized code
Considering the following class:
There is no function provided by
SymbolMethods
that can be used to resolve the"default"
value for thelorem
field (or constructor argument).Debugging the trees, it seems the default value isn't represented anywhere:
Expectation
Be able to resolve the default value, either directly through
SymbolMethods
or using the trees.The text was updated successfully, but these errors were encountered: