summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/scry/fix_for_crystal_0_28_and_above.patch
blob: 909b790b81a8e59821652c1b975bedeb4ac8f19a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/scry/completion_provider.cr b/src/scry/completion_provider.cr
index 29e0d36..f67438c 100644
--- a/src/scry/completion_provider.cr
+++ b/src/scry/completion_provider.cr
@@ -1,4 +1,5 @@
 require "./log"
+require "compiler/crystal/codegen/target"
 require "compiler/crystal/crystal_path"
 require "./completion/*"

diff --git a/src/scry/parse_analyzer.cr b/src/scry/parse_analyzer.cr
index d87eca4..bbe9ed5 100644
--- a/src/scry/parse_analyzer.cr
+++ b/src/scry/parse_analyzer.cr
@@ -1,4 +1,5 @@
 require "compiler/crystal/syntax"
+require "compiler/crystal/codegen/target"
 require "compiler/crystal/crystal_path"
 require "./workspace"
 require "./text_document"