Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346858 - Can't concatenate a boolean variable to a string
Summary: Can't concatenate a boolean variable to a string
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 07:47 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.