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
I did the overloading wrong, but this should give me a StackOverflow instead of crashing:
julia> struct MyType val end julia> Base.:*(x::MyType, y) = MyType(x.val) * y julia> x = MyType(3) MyType(3) julia> y = 4 4 julia> x * y Bus error: 10
julia> versioninfo() Julia Version 1.1.0 Commit 80516ca202 (2019-01-21 21:24 UTC) Platform Info: OS: macOS (x86_64-apple-darwin14.5.0) CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
The text was updated successfully, but these errors were encountered:
99% dup of #17109
Sorry, something went wrong.
Stack overflows on linux so yes this is a dup.
No branches or pull requests
I did the overloading wrong, but this should give me a StackOverflow instead of crashing:
The text was updated successfully, but these errors were encountered: