Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kernel/delta/struct.rb
Original file line number Diff line number Diff line change
@@ -92,7 +92,10 @@ def length
CODE

begin
module_eval code
mod = Module.new do
module_eval code
end
include mod
rescue SyntaxError
# SyntaxError means that something is wrong with the
# specialization code. Just eat the error and don't specialize.

0 comments on commit 8c898e7

Please sign in to comment.