Skip to content

Commit bf96ee0

Browse files
compatibility is now more restrictive than before
1 parent 0c896ff commit bf96ee0

2 files changed

Lines changed: 29 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
strategy:
1010
matrix:
1111
version:
12-
- '1.5'
1312
- '1.6'
1413
- 'nightly'
1514
os:

Project.toml

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,35 @@ Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
88

99
[compat]
1010
Compat = "2.1, 3"
11-
julia = "1.3"
12-
# This package is not compatible with julia 1.0
13-
# Either: Error During Test at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/test/Either.jl:6
14-
# Test threw exception
15-
# Expression: getrightOption(Either{String}(3)) == Option(3)
16-
# MethodError: Union{Nothing, Identity{T}} where T(::Int64) is ambiguous. Candidates:
17-
# (::Type{Union{Nothing, Identity{T}}})(a::T) where T in DataTypesBasic at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/src/Option.jl:6
18-
# (::Type{Union{Nothing, Identity{T}} where T})(a::T) where T in DataTypesBasic at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/src/Option.jl:8
19-
# Possible fix, define
20-
# Nothing(::T)
21-
# TODO check whether this might be added to 1.0.X somewhen
11+
julia = "1.6"
12+
# for all Julia versions below 1.6 we now get an error...
13+
# really surprising, but we go for 1.6 then, as a new LTS version will come soon.
14+
15+
# ERROR: LoadError: LoadError: StackOverflowError:
16+
# Stacktrace:
17+
# [1] top-level scope at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/src/promote_type.jl:105
18+
# [2] include(::Function, ::Module, ::String) at ./Base.jl:380
19+
# [3] include at ./Base.jl:368 [inlined]
20+
# [4] include(::String) at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/src/DataTypesBasic.jl:34
21+
# [5] top-level scope at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/src/DataTypesBasic.jl:53
22+
# [6] include(::Function, ::Module, ::String) at ./Base.jl:380
23+
# [7] include(::Module, ::String) at ./Base.jl:368
24+
# [8] top-level scope at none:2
25+
# [9] eval at ./boot.jl:347 [inlined]
26+
# [10] eval(::Expr) at ./client.jl:467
27+
# [11] top-level scope at ./none:3
28+
# in expression starting at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/src/promote_type.jl:105
29+
# in expression starting at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/src/DataTypesBasic.jl:53
30+
# ERROR: LoadError: Failed to precompile DataTypesBasic [83eed652-29e8-11e9-12da-a7c29d64ffc9] to /home/runner/.julia/compiled/v1.5/DataTypesBasic/qwg4x_PPMzj.ji.
31+
# Stacktrace:
32+
# [1] error(::String) at ./error.jl:33
33+
# [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
34+
# [3] _require(::Base.PkgId) at ./loading.jl:1030
35+
# [4] require(::Base.PkgId) at ./loading.jl:928
36+
# [5] require(::Module, ::Symbol) at ./loading.jl:923
37+
# [6] include(::String) at ./client.jl:457
38+
# [7] top-level scope at none:6
39+
# in expression starting at /home/runner/work/DataTypesBasic.jl/DataTypesBasic.jl/test/runtests.jl:2
2240

2341
[extras]
2442
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"

0 commit comments

Comments
 (0)