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

0.6 regression: issubtype: too few arguments (expected 2) #21545

Closed
SimonDanisch opened this issue Apr 25, 2017 · 1 comment
Closed

0.6 regression: issubtype: too few arguments (expected 2) #21545

SimonDanisch opened this issue Apr 25, 2017 · 1 comment
Assignees
Labels
parser Language parsing and surface syntax
Milestone

Comments

@SimonDanisch
Copy link
Contributor

this was working on a ~10 days old master:

eltype_or(::Type{<: AbstractGeometry{N, T} where N}, or) where T = T

now only this works:

eltype_or(::Type{G}, or) where G <: (AbstractGeometry{N, T} where N) where T = T

The error: issubtype: too few arguments (expected 2)

Julia Version 0.6.0-pre.beta.295
Commit dc907c7* (2017-04-24 04:37 UTC)
SimonDanisch added a commit to JuliaGeometry/GeometryTypes.jl that referenced this issue Apr 25, 2017
@JeffBezanson JeffBezanson added the parser Language parsing and surface syntax label Apr 25, 2017
@JeffBezanson JeffBezanson self-assigned this Apr 25, 2017
@JeffBezanson
Copy link
Sponsor Member

Caused by #21466. The problem is that we have a unary operator followed by where.

@JeffBezanson JeffBezanson added this to the 0.6.0 milestone Apr 26, 2017
JeffBezanson added a commit that referenced this issue Apr 27, 2017
fix #21545, `<: A{T} where T` should give `where` higher precedence
SimonDanisch added a commit to JuliaGeometry/GeometryTypes.jl that referenced this issue May 4, 2017
* try switching to StaticArrays

* test pass with new OffsetInteger for facetype

* add raw functionÄ

* fix test break due to high precision

* use mesh type

* move constructor macro to StaticArrays

* fixes for 0.6

* drop 0.4 + fixes for 0.6

* import slice for 0.5

* fixes for 0.6

* fix remaining issues

* drop 0.5/0.4 for real!

* drop 0.5 for StaticArrays

* checkout before using

* fixes for 0.6

* fix tests

* don't rely on Iterators anymore, since it doesn't work with precompilation

* workaround JuliaLang/julia#21545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser Language parsing and surface syntax
Projects
None yet
Development

No branches or pull requests

2 participants