diff options
| author | Kanstantsin Shautsou <kanstantsin.sha@gmail.com> | 2025-04-07 14:02:46 +0300 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-04-07 16:37:39 +0200 |
| commit | 4646ab89179aa3dac917a16aaa16533548ad33d9 (patch) | |
| tree | 7762b3be95b4aa27c53902642fd0c5f460cfbb47 | |
| parent | e3abdfbc84fe1da62f309e260e574612a7b13473 (diff) | |
Use correct warn method
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13079
| -rw-r--r-- | ractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -274,7 +274,7 @@ class Ractor b = block # TODO: builtin bug raise ArgumentError, "must be called with a block" unless block if __builtin_cexpr!("RBOOL(ruby_single_main_ractor)") - warn("Ractor is experimental, and the behavior may change in future versions of Ruby! " \ + Kernel.warn("Ractor is experimental, and the behavior may change in future versions of Ruby! " \ "Also there are many implementation issues.", uplevel: 0, category: :experimental) end loc = caller_locations(1, 1).first |
