Browse Source

Fix quotation evaluation

master
Dylan Baker 5 years ago
parent
commit
9a3f2a6340
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lib/chervil/ast/quotation.rb

+ 2
- 2
lib/chervil/ast/quotation.rb View File

@@ -8,9 +8,9 @@ module Chervil::AST
8 8
 
9 9
     def evaluate(env)
10 10
       if @value.is_a?(List)
11
-        self
11
+        @value.elements
12 12
       else
13
-        @value.evaluate(env)
13
+        @value
14 14
       end
15 15
     end
16 16
 

Loading…
Cancel
Save