From: "kddnewton (Kevin Newton) via ruby-core" Date: 2024-02-09T21:43:23+00:00 Subject: [ruby-core:116662] [Ruby master Misc#20242] `--parser=prism_without_warning` Issue #20242 has been updated by kddnewton (Kevin Newton). I think you misunderstood what I'm asking for. Right now CRuby warns with: ``` The compiler based on the Prism parser is currently experimental and compatibility with the compiler based on parse.y is not yet complete. Please report any issues you find on the `ruby/prism` issue tracker. ``` when you pass `--parser=prism`. I'm specifically asking to turn this off with `--parser=prism_without_warning`. I'm not asking to change the warning messages within Ruby itself. The specs assert against the output of stderr, which means if this warning gets emitted, a lot of them fail. Specifically there are 70 specs that fail when this warning is present. In order to run the spec suite, I am currently manually commenting this out and recompiling. ---------------------------------------- Misc #20242: `--parser=prism_without_warning` https://bugs.ruby-lang.org/issues/20242#change-106672 * Author: kddnewton (Kevin Newton) * Status: Open * Priority: Normal ---------------------------------------- I was hoping to add another option to `--parser` which would be `--parser=prism_without_warning`. The issue is that it's making it hard to run the tests/specs that test against the output of stderr. This would do the exact same thing as `--parser=prism` it just wouldn't warn. (The name is derived from `--dump=insns_without_opt`, but I'm okay with anything. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/