luke-gru (Luke Gruber)
- Login: luke-gru
- Email: luke.gru@gmail.com
- Registered on: 08/19/2011
- Last sign in: 11/05/2024
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 17 | 30 | 47 |
Activity
09/30/2024
- 05:12 PM Ruby master Revision d592ddd5 (git): Fix compile issue with a short-circuited if/unless condition and `defined?`
- This caused an issue when `defined?` was in the `if` condition. Its
instructions weren't appended to the instruction ...
09/24/2024
- 06:17 PM Ruby master Feature #20759 (Rejected): No good API to query which parser is being used
- Right now the best way I found is:
```ruby
parser = RUBY_DESCRIPTION =~ /prism/i ? "prism" : "parse.y"
```
Th... - 01:28 PM Ruby master Revision 2a0ee408 (git): [ruby/error_highlight] Fix error with prism when method given no arguments
- such as:
p = Proc.new
This now matches the RubyVM::AbstractSyntaxTree behavior, which is
not to highlight anythin...
09/18/2024
- 04:42 PM Ruby master Bug #20740 (Closed): prism_compile coding issue for PM_FORWARDING_SUPER_NODE
- Applied in changeset commit:git|c14b60630d680addd5b4ef9c9b159a26a5446483.
----------
Fix coding issue in prism_compi... - 03:52 PM Ruby master Revision c14b6063 (git): Fix coding issue in prism_compile.c
- Make sure to set back `ISEQ_COMPILE_DATA(iseq)->current_block` for
forwarding super nodes with a block.
Fixes [Bug #...
09/17/2024
- 12:40 PM Ruby master Bug #20749: Error message not shown in output with prism
- This was an issue with the error_highlight gem. I made a PR here: https://github.com/ruby/error_highlight/pull/48
09/16/2024
- 03:29 PM Ruby master Bug #20748: Issue with defined? given method call with block in prism compiler
- I agree it's weird but it could cause an incompatibility I guess, `defined?()` is a weird one for sure.
- 01:59 PM Ruby master Bug #20748 (Closed): Issue with defined? given method call with block in prism compiler
- test.rb
```ruby
puts defined?(undefined_method(){})
```
```
./ruby --parser=parse.y -I../ruby/lib -I. -I.ext/x... - 02:16 PM Ruby master Bug #20749 (Closed): Error message not shown in output with prism
- test.rb:
```ruby
p = Proc.new
```
```
./ruby --parser=parse.y -I../ruby/lib -I. -I.ext/x86_64-linux -I.ext/com...
09/13/2024
- 07:16 PM Ruby master Bug #20473: Ractor array/hash literals
- Okay, makes sense. Maybe if/when ractors are used more I'll take a look at this again.
Also available in: Atom