Show
Ignore:
Timestamp:
08/31/09 12:39:22 (3 months ago)
Author:
dr2chase
Message:

Functional methods are somewhat working as they are supposed to; native wrapping is no longer in-place; bootclasspath is no longer necessary; bytecodes now pass verification; there is an instance of native overloading that will probably fail because it is not (and did not, previously) dodge overlapping bytecode names out of the way; ZZ32 is NOT a subtype of ZZ64, RR32 is NOT a subtype of RR64; this would be a good time to get coercion working.

Location:
trunk/ProjectFortress/LibraryBuiltin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/LibraryBuiltin/CompilerBuiltin.fsi

    r4112 r4118  
    4545end 
    4646 
    47 trait ZZ32 extends ZZ64 comprises { IntLiteral } 
     47trait ZZ32 extends Number comprises { IntLiteral } 
    4848    asZZ32(): ZZ32 
    4949    asString(): String 
     
    6565end 
    6666 
    67 trait RR64 extends Number comprises { RR32 } 
     67trait RR64 extends Number comprises {FloatLiteral} 
    6868    asString(): String 
    6969    opr |self| : RR64 
     
    8383end 
    8484 
    85 trait RR32 extends RR64 comprises { FloatLiteral } 
     85trait RR32 extends Number  
    8686end 
    8787 
    88 object FloatLiteral extends RR32 
     88object FloatLiteral extends RR64 
    8989end 
    9090 
  • trunk/ProjectFortress/LibraryBuiltin/CompilerBuiltin.fss

    r4112 r4118  
    7777end 
    7878 
    79 trait ZZ32 extends ZZ64 comprises { IntLiteral } 
     79trait ZZ32 extends Number comprises { IntLiteral } 
    8080    asZZ32(): ZZ32 = self 
    8181    asString(): String = jIntToString(self) 
     
    9797end 
    9898 
    99 trait RR64 extends Number comprises { RR32 } 
     99trait RR64 extends Number comprises {FloatLiteral} 
    100100    asString(): String = jDoubleToString(self) 
    101101    opr |self| : RR64 = jDoubleAbs(self) 
     
    125125end 
    126126 
    127 trait RR32 extends RR64 comprises {FloatLiteral} 
     127trait RR32 extends Number 
    128128end 
    129129 
    130 object FloatLiteral extends RR32 
     130object FloatLiteral extends RR64 
    131131end 
    132132