Euphoria Ticket #963: Integer with delete_routine used as case value

Reduced test case from this forum post reported by jessedavis

procedure delete_proc(object x) 
  puts(1, "deleting ") 
  ? x 
end procedure 
 
constant op = delete_routine(1, routine_id("delete_proc")) 
 
switch op do 
  case op then 
    puts(1, "in first case...\n") 
end switch 

deleting 1 
 
/home/pete/Downloads/euphoria-4.1.0-Linux-x64/switchdelete.ex:8 
A machine-level exception occurred during execution of this statement (signal 11)  
 
--> See ex.err  

Details

Type: Bug Report Severity: Major Category: Interpreter
Assigned To: unknown Status: New Reported Release: 4.1.0
Fixed in SVN #: View VCS: none Milestone:

Search



Quick Links

User menu

Not signed in.

Misc Menu