This website requires JavaScript.
Explore
Help
Sign In
miloignis
/
kraken
Watch
1
Star
0
Fork
0
You've already forked kraken
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Files
2c2984657039567da283d6c91880e6ee1232e16b
kraken
/
tests
/
test_lambda_pointer.krak
9 lines
115 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix vector addEnd so that it increments size AFTER the resize and resize() doesn't copy_construct an invalid item, which only SOMETIMES failes
2015-07-04 12:59:05 -04:00
import io:*
More work on grammer and standard library! It can kinda load grammer now! Kinda. Marcus ran into the function pointer returns pointer ambiguity, so that'll have to be done tomorrow.
2015-07-04 03:21:36 -04:00
fun main():int {
Swapped pointers to the other side for types to prevent ambiguity, i.e. *int instead of int*
2015-07-04 17:02:51 -04:00
var wa: fun():*int
var wb: *fun():int
var wc: *fun():*int
More work on grammer and standard library! It can kinda load grammer now! Kinda. Marcus ran into the function pointer returns pointer ambiguity, so that'll have to be done tomorrow.
2015-07-04 03:21:36 -04:00
return 0
}
Reference in New Issue
Copy Permalink