Skip to content

Commit 967bb9c

Browse files
committed
require julia 1.6
1 parent 115d5c2 commit 967bb9c

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
version:
13-
- '1.3'
1413
- '1.6'
14+
- '1'
1515
- 'nightly'
1616
os:
1717
- ubuntu-latest

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version = "0.1.3"
77
ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"
88

99
[compat]
10-
julia = "1.3"
10+
julia = "1.6"
1111
ConstructionBase = "1.3"
1212

1313
[extras]

src/StructHelpers.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,6 @@ macro enumbatteries(T, kw...)
318318
end
319319
if val isa Bool
320320

321-
elseif pname == :typesalt
322-
if !(val isa Union{Nothing,Integer})
323-
error("""`typesalt` must be literally `nothing` or an unsigned integer. Got:
324-
typesalt = $(repr(typesalt))::$(typeof(typesalt))
325-
""")
326-
end
327321
else
328322
error("""
329323
Bad keyword argument value:

0 commit comments

Comments
 (0)