Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353444 - Validation errors prevent usage of decimal and number types
Summary: Validation errors prevent usage of decimal and number types
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-07-29 16:19 EDT by Matt Heitz CLA
Modified: 2017-02-23 14:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Heitz CLA 2011-07-29 16:19:47 EDT
Unlike RBD, EDT should allow variables and parameters of type decimal with no length.  An example is below.

The same goes for the 'number' type.  It's a real type in EDT, not something to only allow as a function parameter as in RBD.


package eglx.lang;

import egl.lang.NativeType;

externalType StrLib type NativeType
	// ... other functions removed ...
	static function format(decValue decimal in, pattern string in) returns (string);
end
Comment 1 Matt Heitz CLA 2011-08-25 14:51:32 EDT
This appears to have been fixed.  Huzzah!
Comment 2 Matt Heitz CLA 2011-08-30 13:55:01 EDT
Yippee.