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

154 commits

Author SHA1 Message Date
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
Brian Fiete
63a87cbe57 Fixed exhaustive switch case test with const enums 2021-10-04 07:50:05 -07:00
Brian Fiete
bdff67509c Fixed mDeferredLifetimeEnds during ignoreWrites 2021-09-21 09:58:43 -07:00
Brian Fiete
546e5f7e5e Reworking blockExpr value 2021-09-14 08:00:43 -07:00
Brian Fiete
f9bb9e84e7 Scope fix 2021-09-12 18:22:52 -07:00
Brian Fiete
484a0bf375 Fix for literal int int expression block, fixed lifetime 2021-09-12 18:14:22 -07:00
Brian Fiete
723e2177fc Fixed expressions block results where values could cross ScopeHardEnd 2021-09-11 07:34:44 -07:00
Brian Fiete
1cc0230e65 Var fixes 2021-08-27 10:08:01 -07:00
Brian Fiete
42580df269 Reverted for (int i < j) to reevaluate j on every iteration 2021-07-20 12:28:23 -07:00
Brian Fiete
ce1dbd88ed Fixes to inferred-sized array error 2021-07-19 08:45:25 -07:00
Brian Fiete
e3bdacf505 Made for (var i < GetVal()) only call GetVal() once 2021-07-16 09:06:31 -07:00
Brian Fiete
246e56c144 Fixed deferring of sret methods 2021-07-05 17:28:15 -07:00
Brian Fiete
096dc0aaa3 Improved null conditional lhs cast location 2021-06-29 11:58:33 -07:00
Brian Fiete
3806af6c75 Split mHadBreak from mLeftBlock 2021-06-19 11:00:57 -07:00
Brian Fiete
5e9ac07804 Fallthrough fixes for destructuring and allHadReturns 2021-06-19 09:29:36 -07:00
Brian Fiete
b204dbf8c0 Fixed foreach labeled break 2021-05-31 07:30:33 -07:00
Brian Fiete
85462e6d62 Fixed issue with multiple Dispose calls on foreach enumerator 2021-05-31 07:01:56 -07:00
Brian Fiete
4322c984cc Fix for var-typed case capture 2021-03-02 06:31:39 -08:00