Logo
Explore Help
Sign In
miloignis/kraken
1
0
Fork 0
You've already forked kraken
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
e0fd2e01c35afdc24c1b6e994d38ac36334f89d6
kraken/tests/test_lambda_pointer.krak

9 lines
115 B
Plaintext
Raw Normal View History

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
Powered by Gitea Version: 1.24.6 Page: 29ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API