Skip to content

Commit

Permalink
Merge pull request #6 from xendk/crystal-1.13
Browse files Browse the repository at this point in the history
Update for Crystal 1.13
  • Loading branch information
crimson-knight authored Oct 9, 2024
2 parents 2494b32 + 56b34d1 commit a89816f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/value_types/base.cr
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module Optarg::ValueTypes
end

{% if et %}
alias ElementType = {{et}}
alias ElementType = ::{{et.id}}
alias ElementValue = ::Optarg::ValueTypes::{{et.id}}::Value
{% end %}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/value_types/string_array.cr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Optarg::ValueTypes
class StringArray < Base
__concrete Array(::String), et: ::String
__concrete Array(::String), et: String

class Value
def compare_to(other)
Expand Down

0 comments on commit a89816f

Please sign in to comment.