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
alias correctly handles noncomputable on a def, but not noncomputable on a section:
import Batteries.Tactic.Alias
noncomputable def foo : Nat := Classical.choice sorry
alias bar := foo -- works fine
noncomputable section
def baz : Nat := Classical.choice sorry
alias quux := baz
-- failed to compile definition, consider marking it as 'noncomputable' because it depends on 'baz',
-- and it does not have executable code
The text was updated successfully, but these errors were encountered:
alias
correctly handlesnoncomputable
on adef
, but notnoncomputable
on asection
:The text was updated successfully, but these errors were encountered: