diff --git a/spec/eval_spec.rb b/spec/eval_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/eval_spec.rb
+++ b/spec/eval_spec.rb
@@ -940,4 +940,12 @@ eof
     engine.evaluate_attrs("A", ["a", "z", "y"], {0 => 123, 1 => 456}).should ==
       [123-456, 40, ["x", "y", nil]]
   end
+
+  it "can call 0-arity functions in list comprehension" do
+    engine.parse defn("A:",
+                      '    b = [x.name for x in Dummy.all_of_me]',
+                      )
+    r = engine.evaluate("A", "b")
+    expect(r).to eq ["hello"]
+  end
 end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -56,6 +56,10 @@ class Dummy < ActiveRecord::Base
 
   MISS_YOU_SO_BAD_SIG = [0, 0]
 
+  delorean_fn :all_of_me, sig: 0 do
+    self.all
+  end
+
   def self.i_threw_a_hash_in_the_well
     {a: 123, "a" => 456, b: 789}
   end
added simple spec test -- problem turned out to be in Marty