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

Bug 367207

Summary: [Xbase] arithmetic operator precision
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Jan Koehnlein <jan>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jan, tmf.xtext-inbox
Version: 2.2.1Flags: sven.efftinge: juno+
Target Milestone: M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 367205, 368335    

Description Sven Efftinge CLA 2011-12-20 10:59:06 EST
Overload all variants such that
E.g. 1 + 1L returns '2L' not '2'
Comment 1 Jan Koehnlein CLA 2012-01-05 09:42:22 EST
Removed boxed variants of all arithmetic operators and expanded all possibilities with regard to Java's binary numeric promotion rules (http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#170983)

Pushed to MASTER.
Comment 2 Karsten Thoms CLA 2017-09-19 17:26:23 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:37:46 EDT
Closing all bugs that were set to RESOLVED before Neon.0