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 0b639c0 commit 9a6c4a4Copy full SHA for 9a6c4a4
src/main/ruby/truffleruby/core/truffle/feature_loader.rb
@@ -281,6 +281,7 @@ def self.with_synchronized_features
281
# always called inside #with_synchronized_features
282
def self.get_loaded_features_index
283
unless @loaded_features_version == $LOADED_FEATURES.version
284
+ raise '$LOADED_FEATURES is frozen; cannot append feature' if $LOADED_FEATURES.frozen?
285
@loaded_features_index.clear
286
$LOADED_FEATURES.map! do |val|
287
val = StringValue(val)
0 commit comments