Fix Tuple type info bug

Caused by not having type safe tagged unions :P (Silly C)
This commit is contained in:
Ginger Bill
2017-02-24 22:56:34 +00:00
parent 4cc4d604bc
commit 67ed8a9a4a
2 changed files with 18 additions and 6 deletions

View File

@@ -6,7 +6,15 @@
#import "opengl.odin";
#import "os.odin";
foo :: proc(x: int) -> f32 {
return 123;
}
main :: proc() {
fmt.printf("%T\n", foo);
when false {
/*
Version 0.1.1
@@ -57,6 +65,9 @@ main :: proc() {
To come very Soon:
* Linux and OS X builds (unofficial ones do exist already)
*/
{
}
{
Fruit :: enum {
@@ -145,4 +156,5 @@ main :: proc() {
// align_of([vector 7]i32) != align_of([7]i32) // this may be the case
}
}
}