Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit a89816f

Browse files
Merge pull request #6 from xendk/crystal-1.13
Update for Crystal 1.13
2 parents 2494b32 + 56b34d1 commit a89816f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/value_types/base.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module Optarg::ValueTypes
1515
end
1616

1717
{% if et %}
18-
alias ElementType = {{et}}
18+
alias ElementType = ::{{et.id}}
1919
alias ElementValue = ::Optarg::ValueTypes::{{et.id}}::Value
2020
{% end %}
2121

src/lib/value_types/string_array.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Optarg::ValueTypes
22
class StringArray < Base
3-
__concrete Array(::String), et: ::String
3+
__concrete Array(::String), et: String
44

55
class Value
66
def compare_to(other)

0 commit comments

Comments
 (0)