summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-02-13 13:19:02 -0500
committergit <[email protected]>2024-02-13 18:26:28 +0000
commit29d04bb0c452e31424fb22f62151ab7da566a71e ()
tree3124d8e0bcce2f12dc609a2b2186b2cb50402a21 /lib
parent246005f5bd3171e12bafe820d183a7a23adc9e96 (diff)
[ruby/prism] Introduce `version: "3.4.0"`
This is effectively an alias for "latest" right now. In the future it will change to be its own enum value. https://.com/ruby/prism/commit/2c86036022
-rw-r--r--lib/prism/ffi.rb2
1 files changed, 1 insertions, 1 deletions
@@ -317,7 +317,7 @@ module Prism
values << (options.fetch(:frozen_string_literal, false) ? 1 : 0)
template << "C"
- values << { nil => 0, "3.3.0" => 1, "latest" => 0 }.fetch(options[:version])
template << "L"
if (scopes = options[:scopes])