Commit Graph

3910 Commits

Author SHA1 Message Date
gingerBill
19b24fcce2 Add require_results for proc groups 2023-07-31 17:27:23 +01:00
gingerBill
f17077c05c Remove debug code 2023-07-31 12:11:31 +01:00
gingerBill
44ea82f845 Clean up usage of using throughout core and vendor 2023-07-31 11:46:40 +01:00
gingerBill
0de7df9eab Improve //+vet; remove using in many places; add //+vet !using-stmt where necessary 2023-07-31 11:37:14 +01:00
gingerBill
60e509b1e0 Add separate -vet flags; -vet-using-* flags; //+vet file flags 2023-07-31 11:09:19 +01:00
gingerBill
0f28857c59 Improve type inference for procedure group stuff 2023-07-17 13:03:58 +01:00
gingerBill
88485d5467 Improve scoring for polymorphic procedures 2023-07-17 12:57:33 +01:00
gingerBill
921530dd01 Fix to allow procedure groups on objective-c types 2023-07-17 12:43:56 +01:00
gingerBill
dcf3023d93 Fix bug caused by incorrect assert 2023-07-17 12:06:48 +01:00
gingerBill
3a0b66d5df Merge pull request #2625 from laytan/exit-code-1-on-test-failure
exit with code 1 on `odin test` failure
2023-07-11 21:50:18 +01:00
Laytan Laats
3cce972125 fix indentation 2023-07-11 19:34:59 +02:00
Laytan Laats
52700d6a84 use lb_emit_select instead of lb_emit_if for exit check 2023-07-11 19:30:44 +02:00
gingerBill
3072479c3c Generalize name mangling rule to have a singular definition for a name separator 2023-07-07 23:52:56 +01:00
gingerBill
62031c24a2 Add extra mutex guards around module value access 2023-07-07 23:35:16 +01:00
gingerBill
aa38889704 Fix issue with pointer casting internal llvm intrinsics 2023-07-07 23:23:47 +01:00
gingerBill
6495f2cf98 Fix #2593 2023-07-07 23:09:46 +01:00
gingerBill
ea20b644cc Fix #2624 2023-07-07 23:07:41 +01:00
gingerBill
bf848637aa Fix #2629 2023-07-07 23:06:15 +01:00
gingerBill
759f846b2b Fix [2]union{T} comparison against nil 2023-07-07 23:03:46 +01:00
gingerBill
3758be55f5 Fix #2630 2023-07-07 22:56:20 +01:00
gingerBill
1ff6212ffa Always call lb_run_remove_dead_instruction_pass to fix -debug issues 2023-07-07 22:28:31 +01:00
Laytan Laats
7cdf37eaf6 exit with code 1 on odin test failure 2023-07-03 01:22:36 +02:00
Laytan Laats
fc81008ab5 Fix #2615: can't iterate untyped string 2023-07-02 22:18:25 +02:00
Jeroen van Rijn
a1eae6304f Merge pull request #2622 from laytan/detect-unix-colors-support
detect unix color support
2023-07-02 21:34:34 +02:00
Laytan Laats
49058620f0 fix spacing 2023-07-02 21:25:48 +02:00
Laytan Laats
f68a3639b4 use more common detection method and add FORCE_COLOR and NO_COLOR support 2023-07-02 21:11:19 +02:00
Laytan Laats
f4e87c9720 ignore stderr in tput call 2023-07-02 20:20:10 +02:00
Laytan Laats
23bf7973fa detect unix color support 2023-07-02 19:56:46 +02:00
gingerBill
8b8310711e Fix #2594 zero sized union code generation 2023-06-26 17:36:27 +01:00
gingerBill
cdcb64b0d0 Add missing -strict-style check 2023-06-26 17:06:42 +01:00
gingerBill
3c0f1caa41 Fix #2606 2023-06-26 17:03:40 +01:00
gingerBill
8182ba4ee0 Improve internal names for parapoly records 2023-06-26 16:48:43 +01:00
gingerBill
00d60e28c2 Allow switch &v in ... work to be consistent with for &e in ... 2023-06-26 15:41:53 +01:00
gingerBill
ea00619c3b for &e, i in array and for k, &v in map (alternative to passing the iterable by pointer) 2023-06-26 15:20:40 +01:00
gingerBill
c48057081e Fix nullptr entity case 2023-06-21 14:39:23 +01:00
gingerBill
ea76e09ea7 Fix empty varargs 2023-06-21 14:30:39 +01:00
gingerBill
c9fb078c0f Handle #c_vararg 2023-06-21 14:07:14 +01:00
gingerBill
1800030356 Correct deferred procedures 2023-06-21 14:01:46 +01:00
gingerBill
43ba2c6226 Fix constant parameter passing 2023-06-21 12:10:07 +01:00
gingerBill
735181dc0e Remove unnecessary indent 2023-06-21 01:33:37 +01:00
gingerBill
8a890fd3d3 Remove new_and_improved in the name 2023-06-21 01:32:35 +01:00
gingerBill
15e31e47fa Remove in order requirement for named parameters 2023-06-21 01:24:57 +01:00
gingerBill
67ca9166d3 Allow named arguments variadic expansion .. 2023-06-21 01:03:21 +01:00
gingerBill
b2ced834ba Minor code reshuffle 2023-06-21 00:43:51 +01:00
gingerBill
18746c1444 Refactor call argument checking to a single procedure 2023-06-21 00:40:02 +01:00
gingerBill
09f366bec7 Correct purely named argument handling 2023-06-21 00:03:56 +01:00
gingerBill
2a002c3882 Fix scoring for untyped ternary expressions 2023-06-20 22:55:33 +01:00
gingerBill
fb756e3463 Correct procedure group handling 2023-06-20 21:02:57 +01:00
gingerBill
3c5661b51b Allow for positional and named arguments in procedure calls 2023-06-20 20:29:40 +01:00
gingerBill
26e06ba6a6 Correct check_call_arguments_new_and_improved logic 2023-06-20 16:08:26 +01:00