My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 107: Cpp target does not compiles as it inlines expressions as return values.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2011


 
Reported by stephane...@gmail.com, Mar 15, 2011
What steps will reproduce the problem?
1. Compile the code below using cpp target
2.
3.

What is the expected output? What do you see instead?
It should compile.
It doesn't compile as it inlines an affectation as a return value (this example looks weird but is a shrinked version of a senseful code).

Please complete the following class with minimal code reproducing the
problem :

class Foo {	
	
	inline public function bar2() {
	  var val = 0;
	}

	public function bar1() {
		return bar2();
	}

}

Please provide any additional information below.

Love is all!
Aug 10, 2011
Project Member #1 gameh...@gmail.com
This should be fixed now.
Status: Fixed

Powered by Google Project Hosting