Add comment about Walrus-specific :origin key
authorWincent Colaiuta <win@wincent.com>
Fri, 27 Aug 2010 20:32:10 +0000 (22:32 +0200)
committerWincent Colaiuta <win@wincent.com>
Fri, 27 Aug 2010 20:32:10 +0000 (22:32 +0200)
Signed-off-by: Wincent Colaiuta <win@wincent.com>
lib/walrat/memoizing_cache.rb

index 3f5f6ebb5195a982528cce51e4fc61cca771cc4c..7e371309c429990eaf7ed3ec09ad2dfd1930f63a 100755 (executable)
@@ -74,6 +74,9 @@ module Walrat
 
       # construct a unique identifier
       identifier = [options[:parseable], options[:line_start], options[:column_start]]
+
+      # BUG: the :origin key here is specific to Walrus (doesn't appear anywhere else
+      # in Walrat codebase)
       identifier << options[:origin] if options.has_key? :origin
       identifier << options[:skipping_override] if options.has_key? :skipping_override