Project

General

Profile

Actions

Bug #19081

closed

Ractor warning shows an internal location

Added by nobu (Nobuyoshi Nakada) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:110499]

Description

No one wants this <internal:ractor> location, I think.

$ ruby -e 'Ractor.new {}'
<internal:ractor>:267: warning: Ractor is experimental, ...

https://github.com/nobu/ruby/tree/ractor-warning-location

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 1 year ago

  • Backport changed from 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN to 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED
Actions #2

Updated by nobu (Nobuyoshi Nakada) over 1 year ago

  • Status changed from Open to Closed

Applied in changeset git|131c31a9209c61f84d318aa18b61f468f48b8219.


[Bug #19081] Show the caller location in warning for Ractor

The internal location in ractor.rb is not usefull at all.

$ ruby -e 'Ractor.new {}'
<internal:ractor>:267: warning: Ractor is experimental, ...

Updated by nagachika (Tomoyuki Chikanaga) over 1 year ago

  • Backport changed from 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED to 2.7: REQUIRED, 3.0: REQUIRED, 3.1: DONE

ruby_3_1 f8044a770009b78d46b583600c9bd6660328303f merged revision(s) 131c31a9209c61f84d318aa18b61f468f48b8219.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0