1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00
Commit graph

171 commits

Author SHA1 Message Date
Brian Fiete
7f328385db Trailing whitespace trimming 2022-07-26 13:27:03 -04:00
Brian Fiete
506bb646ac End foreach IEnumerator<T> search when one is found in a type 2022-07-06 06:30:12 -07:00
Brian Fiete
4d1d972599 Fixes to variable assignment detection 2022-07-05 08:41:16 -07:00
Brian Fiete
5277797d73 Improved variable assignment detection 2022-07-05 08:04:38 -07:00
Brian Fiete
a42e0fad60 Fixed extern generic constraint check for delete 2022-07-04 14:16:31 -07:00
Brian Fiete
84bc0ad1de In 'for' loop, check base types for enumerator interfaces 2022-06-27 15:39:50 -07:00
Brian Fiete
0d5b209a14 Fixed uninitialized static local 2022-06-27 11:08:03 -07:00
Brian Fiete
1d2811f50d Appended fields 2022-06-27 10:55:31 -07:00
Brian Fiete
48635c1939 Improved ambiguous (a*b, c*d) tuple parse 2022-06-24 09:25:43 -07:00
Brian Fiete
36a8c2c6ae Added '->' support to nullables and Result<T> 2022-06-22 12:06:40 -07:00
Brian Fiete
ccb1646990 Use lifetime extension for mixin results 2022-06-16 07:21:19 -07:00
Brian Fiete
5268e103e9 Allow mixins and expression blocks to end in a ref expression 2022-06-15 06:45:53 -07:00
Brian Fiete
06ceaf617b Improved type constraint checks constrained by other generic params 2022-06-11 07:56:43 -07:00
Brian Fiete
29832cb3bb Fixed value for failed ref local variable 2022-06-06 13:04:35 -07:00
Brian Fiete
75333a0928 Improved circular mixin check, isconst(expr), [ConstSkip] 2022-05-30 11:40:49 -07:00
Brian Fiete
45edfc8604 Fixed false destructuring error 2022-05-24 06:52:28 -07:00
Brian Fiete
c750ed076c Reduce BeefPerf calls 2022-05-06 12:03:39 -07:00
Brian Fiete
5271f5e2fd Improvements to emit markers on emits only in specialized types 2022-05-02 07:48:29 -07:00
Brian Fiete
fdb4d7bbb5 Fixed "defer will immediately execute" warning in Compiler.Emit 2022-04-28 11:58:47 -07:00
Brian Fiete
a30e539d29 Allow Compiler.Emit during lambda capture phase 2022-04-18 10:42:08 -07:00
Brian Fiete
69fbaf670d Fixed fallthrough inside 'if' or another break scope 2022-04-16 13:40:30 -07:00
Brian Fiete
229c7fbd12 More explicit alignments 2022-04-16 13:22:32 -07:00
Brian Fiete
87d403f72e Suppress 'unreachable code' for 'System.Compiler' comparison branches 2022-03-19 09:16:51 -07:00
Brian Fiete
b334423106 Fleshing out comptime debugging 2022-03-15 16:33:30 -07:00
Brian Fiete
ff2e40e3bf Comptime debugging 2022-03-08 06:27:06 -08:00
Brian Fiete
4c5c89bab5 Comptime GetCustomAttribute for type/field/method 2022-02-17 05:51:05 -05:00
Brian Fiete
434a7406de Fixed some comptime dependency rebuilding issues with aliases/extensions 2022-02-16 18:28:23 -05:00
Brian Fiete
d5485d25e3 Set BfScopeKind_StatementTarget_Conditional in 'while' 2022-02-16 09:01:15 -05:00
Brian Fiete
ae53196e74 Const lhs handling of ??, cond var assignment in CreateConditionalScope 2022-02-16 08:28:05 -05:00
Brian Fiete
f38cf6a1fd Treat enum match out values as conditional assignments 2022-02-13 10:40:10 -05:00
Brian Fiete
56f0f3e4f2 Fixed exhaustive switch check on payload enums with static members 2022-02-13 08:24:15 -05:00
Brian Fiete
d9725dda7c Static local methods and variables, fixed erroneous 'this' capture 2022-02-11 10:38:57 -05:00
Brian Fiete
f37fb2c1b7 Comptime improvments, IOn<X> interfaces, const payload enum 2022-02-11 05:47:32 -05:00
Brian Fiete
390f27c072 LLVM 13 fixes for debug locations and sret/byval 2022-02-07 15:15:58 -05:00
Brian Fiete
f4f10fce99 Partial explicit generic method arguments with ... or ? 2022-02-05 13:47:19 -05:00
Brian Fiete
faefc68cc0 Fixed allowRef for default values for failed local var inits 2022-02-05 11:26:58 -05:00
Brian Fiete
a87ccd299d Added support for const string generic args 2022-02-04 14:26:50 -05:00
Brian Fiete
c2a2cf221a Fixed issue with return from unscoped block in string interpolation 2022-01-29 15:02:19 -05:00
Brian Fiete
0b47f755d8 Fixes to raw array delete marking 2022-01-25 12:05:15 -05:00
Brian Fiete
5267e18783 'var' improvements, fixed cast issues with typed prim & constraint check 2022-01-19 10:38:20 -05:00
Brian Fiete
ee7a8dd8c2 Fixed case match with identifierNode target 2022-01-09 12:20:43 -05:00
Brian Fiete
5c42ea6d2d Fix defer on null conditional 2022-01-08 11:26:56 -05:00
Brian Fiete
54dc59e049 Allow extending Object and ValueType 2022-01-06 06:27:39 -05:00
Brian Fiete
f1c38c792d Tuple deferred assignment fix with casted ref values 2022-01-03 07:43:06 -05:00
Brian Fiete
33204ff599 Evaluate mixin result as expression in mixin definition 2021-12-27 06:47:46 -05:00
Brian Fiete
69a597574d Fixed some struct* constraint checking 2021-12-17 12:56:51 -05:00
Brian Fiete
7c292a8814 Fixed scope for switch with tuple member captures 2021-11-27 11:11:41 -08:00
Brian Fiete
c107a33268 Handle block splitting in tuple match 2021-11-15 16:44:28 -08:00
Brian Fiete
6077a343ca Fixed null check 2021-11-06 07:26:37 -07:00
Brian Fiete
0bfa411d22 Emitted code refactor - copied typedefs 2021-10-28 08:05:14 -07:00