Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354047 - Invoking function with string literal parameter with escaped " produces invalid Java
Summary: Invoking function with string literal parameter with escaped " produces inval...
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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 14:44 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:15 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-08-05 14:44:32 EDT
EGL 
library mine {}
	function caller()
		called("Simple value", true );
		called("const constFixedName string(4) = \"FREDFRED\";", false);
	end
	function called(details string, flag boolean)
		SysLib.writeStdOut(details + " " + flag);
	end
end

Java Error:
Multiple markers at this line
- The method ezeWrap(R) in the type EglAny is not applicable for the arguments (String, String)
- Syntax error on token "FREDFRED", , expected

Java code:
		AnyBoxedObject<String> eze$Temp3 = null;
		eze$Temp3 = EglAny.ezeWrap("const constFixedName string(4) = "FREDFRED";");

JS code:
		var eze$Temp3 = null;
		eze$Temp3 = egl.egl.lang.EglAny.ezeWrap("const constFixedName string(4) = \"FREDFRED\";");
Comment 1 Jeff Douglas CLA 2011-08-05 15:03:39 EDT
fixed
Comment 2 Kathy Carroll CLA 2011-08-12 10:15:04 EDT
verified
Comment 3 Lisa Lasher CLA 2011-10-11 16:03:15 EDT
Closing this defect.