From: "mame (Yusuke Endoh) via ruby-core" Date: 2024-02-14T11:04:28+00:00 Subject: [ruby-core:116741] [Ruby master Misc#20242] `--parser=prism_without_warning` Issue #20242 has been updated by mame (Yusuke Endoh). This issue was discussed at the dev meeting. No one agreed with `--parser=prism_without_warning` because it is too ad-hoc. How about putting the warning in the "experimental" category? `ruby -W:no-experimental --parser=prism` will prevent the warning. ---------------------------------------- Misc #20242: `--parser=prism_without_warning` https://bugs.ruby-lang.org/issues/20242#change-106760 * 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/