You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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.
# [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
0 commit comments