We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 745577d commit c116258Copy full SHA for c116258
lib/tapioca/internal.rb
@@ -7,6 +7,11 @@
7
require "tapioca/runtime/reflection"
8
require "tapioca/runtime/trackers"
9
10
+# The rewriter needs to be loaded very early so RBS comments within Tapioca itself are rewritten
11
+require "spoom"
12
+require "tapioca/rbs/rewriter"
13
+# ^ Do not change the order of these requires
14
+
15
require "benchmark"
16
require "bundler"
17
require "erb"
@@ -32,7 +37,6 @@
32
37
require "tapioca/sorbet_ext/proc_bind_patch"
33
38
require "tapioca/runtime/generic_type_registry"
34
39
35
-require "spoom"
36
40
require "tapioca/helpers/gem_helper"
41
require "tapioca/helpers/git_attributes"
42
require "tapioca/helpers/sorbet_helper"
@@ -61,5 +65,3 @@
61
65
require "tapioca/dsl"
62
66
require "tapioca/commands"
63
67
require "tapioca/cli"
64
-
-require "tapioca/rbs/rewriter"
0 commit comments