Skip to content
New issue

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

Regression for @which 1..2 #39426

Closed
dpsanders opened this issue Jan 27, 2021 · 0 comments · Fixed by #39446
Closed

Regression for @which 1..2 #39426

dpsanders opened this issue Jan 27, 2021 · 0 comments · Fixed by #39446
Assignees
Labels
regression Regression in behavior compared to a previous version

Comments

@dpsanders
Copy link
Contributor

dpsanders commented Jan 27, 2021

The .. function is defined, for example, in IntervalArithmetic.jl. On 1.5 this works:

julia> using IntervalArithmetic

julia> @which 1..2
..(a::T, b::S) where {T, S} in IntervalArithmetic at /Users/dpsanders/Dropbox/packages/IntervalArithmetic/src/intervals/intervals.jl:145

whereas on 1.6 it errors:

julia> using IntervalArithmetic

julia> @which 1..2
ERROR: dot expressions are not lowered to a single function call, so @which cannot analyze them. You may want to use Meta.@lower to identify which function call to target.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] top-level scope
   @ REPL[2]:1
@DilumAluthge DilumAluthge added the regression Regression in behavior compared to a previous version label Jan 27, 2021
@JeffBezanson JeffBezanson self-assigned this Jan 29, 2021
This was referenced Jan 29, 2021
KristofferC pushed a commit that referenced this issue Feb 2, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this issue May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this issue May 9, 2021
staticfloat pushed a commit that referenced this issue Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Regression in behavior compared to a previous version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants