Skip to content

Conversation

@dearblue
Copy link
Contributor

@dearblue dearblue commented Mar 5, 2023

Previously, for example, it was possible to retrieve the String class as follows:

% bin/mruby -e 'p Comparable::Enumerable::Errno::GC::Kernel::Math::ObjectSpace::String'
String

Note that this patch affects the API function mrb_const_get().

Previously, for example, it was possible to retrieve the `String` class as follows:

```console
% bin/mruby -e 'p Comparable::Enumerable::Errno::GC::Kernel::Math::ObjectSpace::String'
String
```

Note that this patch affects the API function `mrb_const_get()`.
@dearblue dearblue requested a review from matz as a code owner March 5, 2023 11:47
@matz matz merged commit 894ce40 into mruby:master Mar 11, 2023
@dearblue dearblue deleted the const-search branch March 14, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants