Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: X10 2.0.5
-
Fix Version/s: None
-
Component/s: Class Libraries
-
Labels:None
-
Number of attachments :
Description
I would the attached program to work.
/Users/sjfink/work/x10-trunk/x10.dist/samples/x.x10:15: Cannot cast expression to type.
Expression: c
Expression type: x10.lang.Char
To type: x10.lang.Byte
/Users/sjfink/work/x10-trunk/x10.dist/samples/x.x10:16: Cannot cast expression to type.
Expression: c
Expression type: x10.lang.Char{self==c}
To type: x10.lang.Short
/Users/sjfink/work/x10-trunk/x10.dist/samples/x.x10:17: Cannot cast expression to type.
Expression: c
Expression type: x10.lang.Char
To type: x10.lang.Int
/Users/sjfink/work/x10-trunk/x10.dist/samples/x.x10:18: Cannot cast expression to type.
Expression: c
Expression type: x10.lang.Char{self==c}
To type: x10.lang.Long
Issue Links
- is related to
-
XTENLANG-1253
Must switch/case statements all need to have the same integral type?
-
-
XTENLANG-1146
Fully implement coercion/conversion operations between all sensible pairs of built-in primitives
-
Activity
Igor Peshansky
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue is related to |
Igor Peshansky
made changes -
| Component/s | X10 Class Libraries [ 13921 ] | |
| Component/s | Language Design [ 14344 ] |
Igor Peshansky
made changes -
| Assignee | Olivier Tardieu [ tardieu ] |
Igor Peshansky
made changes -
| Fix Version/s | X10 2.1.0 [ 16496 ] |
David Grove
made changes -
| Fix Version/s | X10 2.1.1 [ 16497 ] | |
| Fix Version/s | X10 2.1.0 [ 16496 ] |
David Grove
made changes -
| Fix Version/s | X10 2.1.2 [ 16498 ] | |
| Fix Version/s | X10 2.1.1 [ 16497 ] |
David Grove
made changes -
| Fix Version/s | X10 2.2 [ 16002 ] | |
| Fix Version/s | X10 2.1.2 [ 16498 ] |
Olivier Tardieu
made changes -
| Assignee | Olivier Tardieu [ tardieu ] |
David Grove
made changes -
| Reporter | Stephen Fink [ sjfink ] | David Grove [ dgrove ] |
David Grove
made changes -
| Priority | Major [ 3 ] | Critical [ 2 ] |
Igor Peshansky
made changes -
| Link |
This issue is related to |
David Grove
made changes -
| Priority | Critical [ 2 ] | Minor [ 4 ] |
David Grove
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | X10 2.2 [ 16002 ] | |
| Resolution | Won't Fix [ 2 ] |
David Grove
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
This is an issue with the class libraries (Char.x10).