Skip to content

Commit

Permalink
Remove workaround for bug fixed in Crystal 1.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopl committed Jul 9, 2024
1 parent 4fc2e45 commit 2ebec2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ executables:
- gi-crystal
- compare-api

crystal: ">= 1.4.1"
crystal: ">= 1.6.0"

license: BSD-3-Clause
8 changes: 0 additions & 8 deletions src/generator/binding_config.cr
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@ require "yaml"
require "./error"
require "./generator"

# This exists due to https://github.com/crystal-lang/crystal/issues/12290
module Generator
alias BindingConfig = GeneratorNamespaceRenamedDueToACrystalBug::BindingConfig
end

module GeneratorNamespaceRenamedDueToACrystalBug
alias Error = ::Generator::Error
alias Namespace = ::Generator::Namespace

enum BindingStrategy
Auto
# Bind the type as a Crystal struct
Expand Down

0 comments on commit 2ebec2b

Please sign in to comment.