Skip to content

Commit 440211e

Browse files
author
Derek Hower
committed
Make reachable exception pass look for raise_precise, too
1 parent d754bc9 commit 440211e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/idl/passes/reachable_exceptions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def reachable_exceptions(symtab)
2020

2121
class FunctionCallExpressionAst
2222
def reachable_exceptions(symtab)
23-
if name == "raise"
23+
if name == "raise" || name == "raise_precise"
2424
# first argument is the exception
2525
code_ast = arg_nodes[0]
2626
value_result = value_try do

0 commit comments

Comments
 (0)