mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 17:30:43 -07:00
Revert some freezes on non-literals
This commit is contained in:
@@ -56,7 +56,7 @@ module Liquid
|
||||
consume(:dotdot)
|
||||
last = expression
|
||||
consume(:close_round)
|
||||
"(#{first}..#{last})".freeze
|
||||
"(#{first}..#{last})"
|
||||
else
|
||||
raise SyntaxError, "#{token} is not a valid expression"
|
||||
end
|
||||
@@ -70,7 +70,7 @@ module Liquid
|
||||
end
|
||||
|
||||
str << expression
|
||||
str.freeze
|
||||
str
|
||||
end
|
||||
|
||||
def variable_signature
|
||||
|
||||
Reference in New Issue
Block a user