Euphoria Ticket #352: Forward, Inline Default Param Crash

Calling a function with a defaulted parameter that is both forward referenced and inlined crashes:

? foo() 
 
public function foo( object x = bar() ) 
	return 1 
end function 
 
function bar() 
	return 1 
end function 

Details

Type: Bug Report Severity: Major Category: Language
Assigned To: mattlewis Status: Fixed Reported Release:
Fixed in SVN #: 3996, 4007 View VCS: 3996, 4007 Milestone: 4.0.0RC2

1. Comment by mattlewis Nov 10, 2010

Code wasn't being shifted properly when inlined like that.

Search



Quick Links

User menu

Not signed in.

Misc Menu