gingerBill
f54977336b
With -vet-style, give suggestion of separating where clauses with a comma rather than '&&'
...
This improves the error messages
2024-05-09 15:56:00 +01:00
gingerBill
d85c8f0b2c
Fix #3555
2024-05-09 10:58:57 +01:00
gingerBill
3f7a369aa1
Check for specialization in typeid/T for parapoly records
2024-05-07 14:53:02 +01:00
gingerBill
0cec2d7827
Fix #3527
2024-05-07 11:51:06 +01:00
gingerBill
0da6a3e214
Fix #3530
2024-05-07 11:42:48 +01:00
Feoramund
6ec7845249
Fix #3531
...
Individual `bit_field` size was not being added to the total size.
Error message was changed to be more explicit.
2024-05-06 18:30:04 -04:00
gingerBill
2201f365a1
Allow #no_alias on multi-pointers
2024-05-03 14:51:02 +01:00
gingerBill
94d35d9918
Disallow mixing endian types within a bit_field
2024-04-24 17:31:31 +01:00
gingerBill
ec5a84a537
Improve code generation for loading bit_field fields
2024-04-24 13:10:58 +01:00
gingerBill
7cd2bc26f4
Clear error message on collisions with using on struct fields
2024-04-17 13:31:32 +01:00
gingerBill
a61ae7c861
Fix #3427
2024-04-16 13:31:49 +01:00
gingerBill
efc3f9916e
Fix #3414
2024-04-12 12:30:16 +01:00
Chris
219eb58c08
Fix typo in using parameter error message
2024-04-09 12:03:41 +01:00
gingerBill
b47d73c651
Fix type checking for invalid enum backing type
2024-04-01 13:34:30 +01:00
gingerBill
8e1a2094a7
Fix debug info for map
2024-03-30 13:46:23 +00:00
gingerBill
4edcaa6124
Try storing a pointer to a fake metadata type in the debug info for a map
2024-03-30 10:29:20 +00:00
gingerBill
1009182f7b
Fix another #soa race condition bug
2024-03-26 14:13:55 +00:00
gingerBill
533ba63c82
Fix #3327 #3204 #3200
2024-03-26 13:06:39 +00:00
gingerBill
600ca83386
Merge pull request #3326 from rick-masters/fix_fields_wait_signal
...
Fix fields_wait_signal futex.
2024-03-25 13:29:08 +00:00
gingerBill
e5629dafd0
Potentially fix a race condition with parapoly types (related to #3328 )
2024-03-25 13:23:43 +00:00
rick-masters
6d4f30de1a
Fix fields_wait_signal futex.
2024-03-24 16:28:55 +00:00
gingerBill
1d46adb598
Treat *x as an unary operator to improve error messages for common C-programmer mistakes
2024-03-23 16:51:04 +00:00
gingerBill
61aa4558dc
Fix #3314
2024-03-23 16:41:50 +00:00
gingerBill
6e2efce670
Fix missing ERROR_BLOCK(); calls
2024-03-21 12:05:15 +00:00
gingerBill
29e5f94c2a
Add #no_broadcast procedure parameter to disallow automatic array programming broadcasting on procedure arguments
2024-03-21 11:52:48 +00:00
gingerBill
a750fc0ba6
Add #row_major matrix[R, C]T
...
As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`.
This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors.
2024-03-19 21:05:23 +00:00
gingerBill
5159f30c9c
Fix error block handling
2024-03-19 13:10:35 +00:00
gingerBill
d5daa9fda5
Minimize error propagation of bad array syntax by treating this like a type
2024-03-19 13:05:28 +00:00
gingerBill
89315986d4
Add suggestion when mistyping an array backwards e.g. T[]
2024-03-19 12:37:11 +00:00
Chris
5cc936245c
Improve bit_set error message
2024-03-13 19:50:41 +00:00
gingerBill
00fc4c4e1b
Make that warning an error with -vet-style
2024-02-22 20:21:21 +00:00
gingerBill
9ea11da00f
Add warning when using bit_field when a bit_set would be a much better idea.
2024-02-22 20:10:56 +00:00
gingerBill
54515af8cc
Add field tags to bit_field
2024-02-22 19:41:48 +00:00
gingerBill
c14b9d461a
Support using of a bit_field within a struct
2024-02-22 19:14:16 +00:00
gingerBill
59479b2ba6
Fix typo
2024-02-22 17:26:32 +00:00
gingerBill
5a84a08225
Add general support for bit_fields
2024-02-22 17:24:42 +00:00
gingerBill
a4b8c1ea17
Begin work adding bit_field
2024-02-22 15:55:54 +00:00
gingerBill
d496dbf3a0
Fix race condition with #soa
2024-02-13 16:54:41 +00:00
gingerBill
cbfb32c34c
Fix race condition with regards to #soa arrays by using the fields mutex
2024-02-13 16:21:41 +00:00
gingerBill
5cd57a3a7f
Use Raw_Map as the debug information for a map
2024-02-13 15:50:07 +00:00
gingerBill
f378367fe7
Store cell data in map debug metadata
2024-02-12 15:17:06 +00:00
gingerBill
c291fffce1
Add metadata type to maps debug information to aid debuggers knowing what is in it it
2024-02-12 12:29:37 +00:00
gingerBill
8f4ab3c07d
Add check for a procedure
2024-02-08 13:49:27 +00:00
gingerBill
dc5cfacc0a
Fix edge case for procedures
2024-02-08 13:45:18 +00:00
gingerBill
59933b244d
Allow polymorphic checking with intrinsics.type_is_subtype_of(Derived_Type, Poly_Type)
2024-02-08 13:41:02 +00:00
gingerBill
42aca72d9f
Correct the logic for parapoly records to match that of procedures (polymorphic non-typeid parameters)
2024-02-08 13:21:41 +00:00
jakubtomsu
aff345f57f
Allow fixed SOA structs
2024-01-31 21:38:05 +01:00
gingerBill
68df35b378
Add #field_align(N)
...
It sets the minimum alignment for the fields within a struct. This cannot be used with `#packed`, but can be used with `#align(N)`.
If `#align(N)` is less than `#field_align(N)`, then a warning will be printed.
2024-01-28 17:33:29 +00:00
gingerBill
d7d23e65ea
Clean up error block usage
2024-01-05 13:47:00 +00:00
Laytan Laats
bc7972fbaf
error when #c_vararg is not applied to the last parameter
...
Fixes #2981
2023-12-20 00:17:11 +01:00