Project

General

Profile

Actions

Bug #20954

closed

Ractor.main? returns 0 on the main ractor

Added by zverok (Victor Shepelev) 3 days ago. Updated 2 days ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux]
[ruby-core:120251]

Description

Very minor (as the value is still truthy) but slightly confusing.

Ractor.main? #=> 0
$ ruby -v
ruby 3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux]
Actions #2

Updated by byroot (Jean Boussier) 2 days ago

  • Status changed from Open to Closed

Applied in changeset git|5d97c14fec90b96f82d13299f578d16ee9996b3f.


FIx Ractor.main? to return true not 0

[Bug #20954]

Actions

Also available in: Atom PDF

Like0
Like0Like0