We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c50fd0d commit c52da5aCopy full SHA for c52da5a
src/main/java/org/truffleruby/RubyLanguage.java
@@ -212,7 +212,11 @@ public final class RubyLanguage extends TruffleLanguage<RubyContext> {
212
public final Shape unboundMethodShape = createShape(RubyUnboundMethod.class);
213
public final Shape weakMapShape = createShape(RubyWeakMap.class);
214
215
- public final Shape classVariableShape = Shape.newBuilder().layout(ClassVariableStorage.class).build();
+ public final Shape classVariableShape = Shape
216
+ .newBuilder()
217
+ .allowImplicitCastIntToLong(true)
218
+ .layout(ClassVariableStorage.class)
219
+ .build();
220
221
public RubyLanguage() {
222
coreMethodAssumptions = new CoreMethodAssumptions(this);
0 commit comments