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

183 commits

Author SHA1 Message Date
Brian Fiete
8a07189594 Improved handling of parser errors with attributed elements 2025-06-01 18:05:28 +02:00
Brian Fiete
6f5d3e0ca9 Fixed parsing for generic ctor 'this<X>() where X : int : base() ' 2025-05-30 17:21:20 +02:00
Brian Fiete
e5c1d782ea TriviaStart fix for 'A<B>.C()' 2025-05-27 12:52:46 +02:00
Brian Fiete
958a1630aa Added support for global:: lookups 2025-05-18 12:13:15 +02:00
Brian Fiete
ad3d90e521 Fixed BfSizedArrayCreateExpression error handling for non-array 2025-05-11 15:09:39 +02:00
Fusioon
865e70d73a Expect semicolon after expression body property 2025-03-09 02:48:39 +01:00
Brian Fiete
188ff74128 Fixed do/while detection 2025-02-23 06:59:30 -08:00
Brian Fiete
546c4d7e7e Fixes anonymous type formatting 2025-02-23 06:45:13 -08:00
Brian Fiete
5feb0c044b 'not case' expression, case variable scope change 2025-02-22 09:56:39 -08:00
Brian Fiete
ad9550d807 Fixed ability to use anonymous types as method parameters 2025-01-09 13:48:14 -08:00
Brian Fiete
d8be440cb6 Fixed IsInitializerStatement with indexed Add initializer 2025-01-08 07:16:02 -08:00
Brian Fiete
eebb0f7882 Fixed failed anonymous inline type declaration with attributes 2025-01-07 11:54:46 -08:00
Brian Fiete
c600f86da5 Fixed define block srcEnd in initializer block 2025-01-07 07:37:14 -08:00
Brian Fiete
61a3328c5a Proper error for anonymous type declarations in emitted code 2025-01-05 09:07:36 -08:00
Brian Fiete
854122cb46 Allow anonymous 'using' fields 2025-01-05 08:55:17 -08:00
Brian Fiete
613f9c743a Anonymous id fix 2025-01-04 14:56:12 -08:00
Brian Fiete
a6a891d800 Improved semicolon handling for inline anonymous type references 2025-01-04 12:47:45 -08:00
Brian Fiete
b922c486ec Improved IsInitializerStatement 2025-01-04 11:55:57 -08:00
Brian Fiete
a5e9a33f64 Anonymous subclassing in initializer blocks 2025-01-04 10:57:37 -08:00
Brian Fiete
01c2c35fc3 Anonymous type improvements 2025-01-02 16:19:26 -08:00
Brian Fiete
958fc30310 Inline anonymous type declarations 2025-01-02 11:42:33 -08:00
Brian Fiete
b784f4f39d Remove 'stack' keyword 2024-12-31 08:55:37 -08:00
Brian Fiete
f43da38dbb Fixed null token crash while typing 'Program.this' 2024-11-19 09:08:15 -05:00
Brian Fiete
14a3dd8e7d Handle zero-sized enums (<= 1 member) 2024-11-08 09:16:27 -05:00
Brian Fiete
04ea8a6634 Generic constructors 2024-11-06 07:31:55 -05:00
Fusioon
921049ba02 Fix dangling error when typing delegate, disallow method body after delegate type 2024-09-07 10:12:37 +02:00
Brian Fiete
084566cdc6 Use StackHelper for very long if/else chains 2024-03-18 05:44:02 -04:00
Brian Fiete
b80db38cdc Expanded const generic params to support structs 2024-02-13 06:12:12 -05:00
Brian Fiete
6302416e40 Fixed constraints on generic delegates 2024-02-06 06:56:10 -05:00
Brian Fiete
9d72043a71 Fixed autoCtor parsing issue when followed by type generic constraint 2023-12-24 07:05:27 -05:00
Brian Fiete
85273962be Added label support to 'fallthrough' 2023-12-16 07:38:27 -05:00
Brian Fiete
76c773b0c7 Parsing fix for failed collection initializer expression 2023-11-18 18:57:20 -05:00
Brian Fiete
596dd2401d Added support for indexer in initializer expression, reeval Add calls 2023-03-17 11:13:41 -07:00
Brian Fiete
7f695596b8 Added '?' capture, reworked '&' capture, allow 'this' capture 2023-03-17 08:38:45 -07:00
Brian Fiete
b6219ce80f Added an error with a missing comma inside an initializer expr 2023-03-14 07:19:21 -07:00
Brian Fiete
e18bf57c87 Fixed DoCreateTypeRef BfMemberReferenceExpression null crash 2023-02-14 08:51:57 -05:00
Brian Fiete
15fd1b5f3f Disallow initializers in anonymous delegate type references 2022-08-24 17:20:55 -07:00
Brian Fiete
b12ceeb625 Fixit for expanding auto constructor 2022-08-01 10:47:17 -04:00
Brian Fiete
dbf360e243 Fixed failed method param parsing 2022-07-28 07:18:38 -04:00
Brian Fiete
7f328385db Trailing whitespace trimming 2022-07-26 13:27:03 -04:00
Brian Fiete
df6ca9e9ed Fixed parsing error with malformed object initializer 2022-07-15 08:59:08 -04:00
Brian Fiete
32be2ba69c 'using' formatting fix 2022-07-13 07:07:38 -04:00
Brian Fiete
450d541292 Added 'using' fields 2022-07-10 07:50:08 -04:00
Brian Fiete
7dd2324fcf Added nameof 2022-07-06 12:19:01 -07:00
Brian Fiete
1d2811f50d Appended fields 2022-06-27 10:55:31 -07:00
Brian Fiete
79320652e3 Named arguments 2022-06-24 18:41:54 -07:00
Brian Fiete
48635c1939 Improved ambiguous (a*b, c*d) tuple parse 2022-06-24 09:25:43 -07:00
Brian Fiete
abd511a93d Added '->' operator, static indexer fix, RefCounted<T> 2022-06-22 08:35:25 -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
75333a0928 Improved circular mixin check, isconst(expr), [ConstSkip] 2022-05-30 11:40:49 -07:00