Skip to content

Commit 00354c4

Browse files
committed
🐛 object_id might be a negative integer
1 parent 9711b97 commit 00354c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/emfrp/parser/toplevel.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class Parser < ParserCombinator::StringParser
218218
whole_name = x[:pattern][:ref]
219219
else
220220
whole_name = SSymbol.new(
221-
:desc => "anonymous" + x[:pattern].object_id.to_s,
221+
:desc => "anonymous" + x[:pattern].object_id.abs.to_s,
222222
:keyword => x[:pattern].deep_copy
223223
)
224224
end

0 commit comments

Comments
 (0)