You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.
I have a fix for this in my checkout. The SecurityError was coming from customize_top_self in
bootstrap/RubyContext.rb which is executed at the start of each ruby session .
The class<<self construct is not a read-only operation on the IR graph
which was generated by the parser. For the case of customize_top_self
we can commit a copy of the method dictionary from the top level singleton class
after boostrap and manufacture a top level singleton class with Smalltalk code
during normal session startup. However general execution of persistently loaded
code containing class<< constructs would need a fair amount of work to the IR
classes to make that construct operate in a read-only manner .
def self.customize_top_self(top_self)
class << top_self
def to_s
"main"
end
def inspect
"main"
end
def include(_args)
Object.include(_args)
end
def private(_args)
Object.private(_args)
end
def public(_args)
Object.public(_args)
end
end
end
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We added code modification privilege to GcUser.
We are still getting this error:
The text was updated successfully, but these errors were encountered: