Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346858

Summary: Can't concatenate a boolean variable to a string
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Matt Heitz <mheitz>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-05-23 07:47:51 EDT
EGL code:

	myT boolean = true;
	writeStdOut( " myT " + myT);

generated java:

		java.lang.System.out.println((" myT ") + EBoolean.asString(ezeProgram, myT));

Java compile error:

		The method asString(Executable, boolean) is undefined for the type EBoolean
Comment 1 Matt Heitz CLA 2011-05-25 17:23:38 EDT
I added the missing method, EBoolean.asString().  The generated code will compile now.
Comment 2 Matt Heitz CLA 2011-06-01 12:35:50 EDT
Verified the fix.