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
3a87970eb3110021f3e6b616df6a54b0e25a606b
kraken/tests/test_functionMultipleTemplateTest.krak

14 lines
157 B
Plaintext
Raw Normal View History

Got the new scoping working! Still some odd stuff happening to certian templates, and I think vector is having problems with new/traits. Really need to get canonnical filenames and what not worked out
2014-12-30 01:22:09 -05:00
import io:*;
Added (then fixed) templates with multiple parameters for both classes and functions!
2014-06-17 00:10:57 -07:00
Wooo! Fixed up remaining bugs in new syntax!
2015-05-09 06:24:56 -04:00
fun addAndPrint<T,J>(a: T, b: J): void {
Added (then fixed) templates with multiple parameters for both classes and functions!
2014-06-17 00:10:57 -07:00
print(a+b);
}
Wooo! Fixed up remaining bugs in new syntax!
2015-05-09 06:24:56 -04:00
fun main(): int {
Added (then fixed) templates with multiple parameters for both classes and functions!
2014-06-17 00:10:57 -07:00
Traits for function templates working! Need to finish for objects and specilizations, and I think also else statements.
2014-07-18 08:52:15 -07:00
addAndPrint<int,double>(10,12.14159);
Added (then fixed) templates with multiple parameters for both classes and functions!
2014-06-17 00:10:57 -07:00
print("\n");
return 0;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 416ms Template: 33ms
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