Changeset 1707
- Timestamp:
- 10/25/08 02:06:19 (2 months ago)
- Location:
- cobra/trunk/Source
- Files:
-
- 2 modified
-
Expr.cobra (modified) (1 diff)
-
Types.cobra (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/Expr.cobra
r1706 r1707 2200 2200 _value = token.value to float 2201 2201 2202 def canBeAssignedTo(type as IType) as bool is override2203 if type.isDescendantOf(.compiler.anyFloatType)2204 # TODO: check that the literal fits in the range of the type2205 return true2206 else2207 return base.canBeAssignedTo(type)2208 2209 2202 def _bindImp is override 2210 2203 base._bindImp -
cobra/trunk/Source/Types.cobra
r1706 r1707 1069 1069 def init(size as int, superType as IType?) 1070 1070 require 1071 size in [ 8, 16,32, 64]1071 size in [32, 64] 1072 1072 superType implies superType inherits AnyFloatType 1073 1073 body
