From: "Eregon (Benoit Daloze) via ruby-core" Date: 2024-02-07T12:13:55+00:00 Subject: [ruby-core:116618] [Ruby master Misc#20242] `--parser=prism_without_warning` Issue #20242 has been updated by Eregon (Benoit Daloze). Do you have an example? That could help to clarify the need for this. Is it problematic to modify these tests/specs to accept Prism warnings too? I think that would be best (since it would be needed longer-term anyway). For compatibility, `--parser=prism` should at some point pass the test suite and specs, so that will mean some modifications to expected warning/parse errors. ---------------------------------------- Misc #20242: `--parser=prism_without_warning` https://bugs.ruby-lang.org/issues/20242#change-106630 * 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/