Fix typeid comparison bug; Add extra messages for pointer address errors

This commit is contained in:
gingerBill
2019-11-03 19:49:21 +00:00
parent 57853fe1b1
commit c1176c2bcb
3 changed files with 26 additions and 2 deletions
+11 -1
View File
@@ -1350,7 +1350,17 @@ soa_struct_layout :: proc() {
}
main :: proc() {
when true {
id: typeid;
id = typeid_of(int);
if id == bool {
fmt.println("HERE1");
}
fmt.println("HERE2");
when false {
extra_general_stuff();
union_type();
parametric_polymorphism();