Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Language Specification
-
Labels:None
-
Number of attachments :
Description
So, public operator (x:T) as ? <: U = E means — let T be the type of E. Define a cast "as T". And T <: U or error.
Issue Links
- is related to
-
XTENLANG-2480
Type bounds do not play nice with coercions
-
Not quite – see XTENLANG-2480.