Skip to content

Commit 9e1eea9

Browse files
committed
Add back Truffle::MAIN as it is used by interop code
* Move it closer to its only usage and comment about it.
1 parent a5ab7d3 commit 9e1eea9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/ruby/core/truffle/interop.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
# GNU General Public License version 2, or
99
# GNU Lesser General Public License version 2.1.
1010

11-
module Truffle
11+
# Used by Truffle::Interop.lookup_symbol
12+
Truffle::Interop::MAIN = self
1213

14+
module Truffle
1315
module Interop
1416

1517
def self.import_method(name)

0 commit comments

Comments
 (0)