-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespace on read #2
Draft
tagomoris
wants to merge
1
commit into
master
Choose a base branch
from
namespace-on-read
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
008f4a1
to
89c2015
Compare
8a7dd76
to
6f48ca3
Compare
Try on Playground: https://ruby.github.io/play-ruby?run=8468437637 |
a9ac80a
to
4569be7
Compare
0808a92
to
f8d6727
Compare
1818bf0
to
134281d
Compare
1425527
to
eaf8998
Compare
2837247
to
d04ddec
Compare
874f5c2
to
884d4dc
Compare
035dc71
to
6855945
Compare
2c0a137
to
cfdfd76
Compare
cfdfd76
to
f0649a2
Compare
tagomoris
pushed a commit
that referenced
this pull request
Jul 29, 2024
When Ruby is built with ASAN and RUBY_FREE_AT_EXIT is enabled, the following error occurs: READ of size 8 at 0x74c666610020 thread T0 #0 0x593b6712ecc6 in RB_BUILTIN_TYPE include/ruby/internal/value_type.h:191:30 #1 0x593b6712ecc6 in rb_gc_impl_shutdown_free_objects gc_impl.c:3208:17 #2 0x593b6749a62e in ruby_vm_destruct vm.c:3133:17
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://bugs.ruby-lang.org/issues/19744
Features
autoload
class/module
in namespaces on built-in classes/modulesremove_const
,const_defined
,const_added
,rb_define_global_const
, etc (tests)Nothing to do
Stretch
TODOs
cref
andrb_cfunc_t
to contain namespaces to eliminaterb_thread_t
changesbasename
in C instead of callingrb_funcall
inrb_namespace_local_extension
Namespace
to containrb_namespace_t
directly instead of havingNamespace::Entry
require
in methods defined in namespace on non-namespaced threads$LOAD_PATH
,$LOADED_FEATURES
Namespace#inspect
to show details (number? source location?)Namespace#to_s
(#name
) to show shorter full class name<#Namespace:#3>::X::Y