Skip to content

Commit f70bbb0

Browse files
Stephan SahmStephan Sahm
authored andcommitted
no julia 1.0 unfortunately
1 parent 0210b8f commit f70bbb0

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

Project.toml

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

99
[compat]
1010
Compat = "2.1, 3"
11-
julia = "1"
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
1222

1323
[extras]
1424
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using Test
22
using DataTypesBasic
33

4+
@test isempty(detect_ambiguities(DataTypesBasic))
5+
46
@testset "Const" begin
57
include("Const.jl")
68
end

0 commit comments

Comments
 (0)