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
This is expected. @code_warntype gives the IR before optimization, if you want to get the equivalent in Cthulhu you need to pass optimize=false (or just press o). Perhaps @descend_code_warntype should set that by default to be more consistent with @code_warntype though?
The problem is they give different inference results. @code_typed and @code_warntype shows Type{Int64}.
IIUC, @descend_code_warntype shows Union{Type{Int64}, Type{Union{}}}.
MWE:
@code_warntype
@code_typed
@descend_code_warntype
The text was updated successfully, but these errors were encountered: