public
Created

  • Download Gist
ref.ooc
ooc
1 2 3 4 5 6 7
Int: cover {
seconds2minutes: func -> This { return this / 60 }
}
 
main: func -> Int {
"hello world" println()
}
$ rock ref.ooc

sdk/lang/Buffer.ooc:160:27 INFO Score of ### = -1 (### vs ###)
        if (c > size) c = size
                          ~~~~

sdk/lang/Buffer.ooc:540:34 INFO Score of ### = -1 (### vs ###)
        if(start >= end) start = end
                                 ~~~

sdk/lang/Buffer.ooc:160:27 INFO Score of ### = -1 (### vs ###)
        if (c > size) c = size
                          ~~~~

sdk/lang/Buffer.ooc:540:34 INFO Score of ### = -1 (### vs ###)
        if(start >= end) start = end
                                 ~~~

./ref.ooc:2:49 ERROR Invalid use of operator / between operands of type Int and SSizeT

  seconds2minutes: func -> This { return this / 60 }
                                                ~~  
[FAIL]
[Exception]: 
Abort trap

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.