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
We save the contracts from the first decl for comparison with any
re-declaration. However, the stored copy refers to the parameter
of the decl and the stored contracts get modified when the function
decl gets genericized.
To solve the problem, we store a copy of the original contracts.
The copy can't happen for deferred contracts so we only save them
when the contracts are not deferred. This means friend declarations
can not work correctly. However, we already do not have a solution
for recognising mismatched contracts on friend declarations.
0 commit comments