We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
following the video and I see that following statement should return MethodError: no method matching zero(::Type{Any})
MethodError: no method matching zero(::Type{Any})
1.9.0-beta4>mutable struct Squares count::Int end 1.9.0-beta4>Base.iterate(S::Squares, s =1) = s> S.count ? nothing : (s^2, s+1) 1.9.0-beta4>Base.length(S::Squares) = S.count 1.9.0-beta4>using JET; @report_opt(sum(Squares(10))) No errors detected
The text was updated successfully, but these errors were encountered:
No branches or pull requests
following the video and I see that following statement should return
MethodError: no method matching zero(::Type{Any})
The text was updated successfully, but these errors were encountered: