lib/graphql/language/token.rb in graphql-1.9.4 vs lib/graphql/language/token.rb in graphql-1.9.5
- old
+ new
@@ -10,10 +10,10 @@
attr_reader :value
attr_reader :prev_token, :line, :col
def initialize(value:, name:, line:, col:, prev_token:)
@name = name
- @value = value.freeze
+ @value = -value
@line = line
@col = col
@prev_token = prev_token
end