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

664 commits

Author SHA1 Message Date
Brian Fiete
2a55b5c7bb Support System.Compiler values in comptime, SetReturnType, Enum helpers 2022-06-23 11:53:21 -07:00
Brian Fiete
36a8c2c6ae Added '->' support to nullables and Result<T> 2022-06-22 12:06:40 -07:00
Brian Fiete
abd511a93d Added '->' operator, static indexer fix, RefCounted<T> 2022-06-22 08:35:25 -07:00
Brian Fiete
1b3b693cb2 Null check for generic delegate arg 2022-06-17 10:34:37 -07:00
Brian Fiete
4d90e98e7e Put back explicit var lookup disabling 2022-06-17 10:32:27 -07:00
Brian Fiete
eeed1bf41c Improved Find All References handling of virtual method overrides 2022-06-16 11:17:01 -07:00
Brian Fiete
5c59fe694d Disallow explicit var member lookups 2022-06-16 10:52:05 -07:00
Brian Fiete
ccb1646990 Use lifetime extension for mixin results 2022-06-16 07:21:19 -07:00
Brian Fiete
e3ca70c153 Improved struct returns from mixins and block expressions 2022-06-15 11:24:24 -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
6b1d9df8d2 Force mixin result to value (not addr) 2022-06-14 10:09:57 -07:00
Brian Fiete
0cf9135b8a Fixed non-composites 'in' parameters 2022-06-14 06:57:24 -07:00
Brian Fiete
2384b7edfc Fixed method selection reification 2022-06-13 12:27:24 -07:00
Brian Fiete
80d9b11166 Fixed reification on delegate invocations 2022-06-13 11:50:13 -07:00
Brian Fiete
500a42b054 Fixed null check 2022-06-13 11:05:03 -07:00
Brian Fiete
46947636f7 Improved ability of methodrefs to be used for Delegate constraints 2022-06-13 06:52:12 -07:00
Brian Fiete
06ceaf617b Improved type constraint checks constrained by other generic params 2022-06-11 07:56:43 -07:00
Brian Fiete
ae84564fca Fixed 'this' regression in unary operation on base properties 2022-06-11 05:46:48 -07:00
Brian Fiete
35a81b7bbe Fixed indexer method selection 2022-06-08 10:57:30 -07:00
Brian Fiete
25bde9e566 Retain argument cascade type 2022-06-06 11:27:07 -07:00
Brian Fiete
91a4af93af Improved indexer errors and indexer attributes 2022-06-06 08:50:30 -07:00
Brian Fiete
39f7c01da3 Added warning for arithmetic on a pointer to a sized array 2022-06-06 08:24:01 -07:00
Brian Fiete
a82130352a Removed autocomplete invoke info inside valueless lambda body 2022-06-05 08:32:16 -07:00
Brian Fiete
454ed279dc Improved autocomplete with string interpolation 2022-06-03 12:04:04 -07:00
Brian Fiete
c523a73860 Fixed 'may skip variable initialization' error with '?' discard 2022-06-01 16:17:20 -07:00
Brian Fiete
d4c2e58063 Relaxed field accessibility check in specialized sections 2022-06-01 11:01:03 -07:00
Brian Fiete
75333a0928 Improved circular mixin check, isconst(expr), [ConstSkip] 2022-05-30 11:40:49 -07:00
Brian Fiete
8567072eef Called ReturnValueDiscarded after string interpolation 2022-05-27 10:42:32 -07:00
Brian Fiete
a8cf568bf9 Fixed unary operations on properties in specialized generic types 2022-05-27 08:32:26 -07:00
Brian Fiete
5763ac7d83 Relaxed assert 2022-05-27 06:29:52 -07:00
Brian Fiete
0c34e62df2 Improved recursive checks in InferGenericArgument 2022-05-25 14:41:17 -07:00
Brian Fiete
134893c11f Fixed var case in SetupNullConditional 2022-05-24 07:46:42 -07:00
Brian Fiete
45edfc8604 Fixed false destructuring error 2022-05-24 06:52:28 -07:00
Brian Fiete
f9396f69c0 Fixed generic arg inference on types with emissions 2022-05-23 12:29:59 -07:00
Brian Fiete
7f340f7c82 Improved warning taking address of parameters 2022-05-21 11:58:26 -07:00
Brian Fiete
bb7a5a3dff Null check in CheckModifyResult 2022-05-18 06:20:32 -07:00
Brian Fiete
2432ab4921 Make failed indexer match failover to first indexer decl 2022-05-15 18:14:45 -07:00
Brian Fiete
75107a947c Improved numeric handling on types with numeric conversion ops 2022-05-15 17:56:39 -07:00
Brian Fiete
fa2cb7ba56 Fixed subtracting pointers to zero-sized elements 2022-05-13 14:37:29 -07:00
Brian Fiete
d623c21495 Compiler performance enhancements 2022-05-06 11:28:38 -07:00
Brian Fiete
0c955e5c66 Fixed type population with Span params 2022-05-04 07:58:00 -07:00
Brian Fiete
a874bab0e4 ResolveGenericType arg fix 2022-04-30 09:20:32 -07:00
Brian Fiete
717d6aa4cf Changed ResolveSelfType to not require a type instance 2022-04-30 08:10:57 -07:00
Brian Fiete
259f50d612 Fixed autoprop backing field access 2022-04-26 07:36:33 -07:00
Brian Fiete
e307448363 Fixed IR type population issue with phi from const structs 2022-04-25 15:03:12 -07:00
Brian Fiete
7ddec857f6 Fixed Emit marker in generic types where unspecialized has no emission 2022-04-25 13:45:18 -07:00
Brian Fiete
3ef627e3e2 No error on return type mismatch on NoReturn expression-bodied calls 2022-04-19 08:26:52 -07:00
Brian Fiete
2de490fd59 Lowering fix when lowered types are larger than source types 2022-04-19 07:48:03 -07:00
Brian Fiete
42e837301b Improved undef handling of unspecialized const generic arg 2022-04-18 11:04:45 -07:00
Brian Fiete
a30e539d29 Allow Compiler.Emit during lambda capture phase 2022-04-18 10:42:08 -07:00