gingerBill
9f10487678
Fix #1493
2022-07-24 12:59:34 +01:00
gingerBill
eafa5098aa
Fix #1883
2022-07-16 18:03:43 +01:00
gingerBill
041625381c
Fix #1888
2022-07-16 17:36:03 +01:00
gingerBill
abe122ecb7
Implement #1859
2022-06-26 13:13:07 +01:00
gingerBill
bb7f291f5f
Remove simd_rem; Disallow simd_div for integers
2022-06-02 12:10:43 +01:00
gingerBill
5b42dd7707
Correct @(require_results) on parapoly procedures
2022-05-30 15:27:09 +01:00
gingerBill
d0e8a735ba
Add arithmetic operator support for simd vectors; Add intrinsics.simd_and_not
2022-05-26 17:09:46 +01:00
gingerBill
208226dba2
Improve #simd literal support
2022-05-26 14:55:10 +01:00
gingerBill
f308f37ba1
Remove need for simd.splat
2022-05-26 14:51:50 +01:00
gingerBill
63cc8a80a0
Correct parapoly for #simd
2022-05-25 21:29:45 +01:00
gingerBill
1549d01bf7
Restrict swizzle to a power of two for #simd
2022-05-25 21:17:21 +01:00
gingerBill
0203bb657e
Allow for non-constant simd vector compound types
2022-05-25 20:39:22 +01:00
gingerBill
53f0c6ef1a
Add ranges for simd compounds literals
2022-05-25 20:31:31 +01:00
gingerBill
f21e9ee712
Allow basic casting of simd vectors
2022-05-25 18:59:47 +01:00
gingerBill
b032d5af87
Make #simd an opaque type
2022-05-25 17:26:18 +01:00
Cedric Hutchings
3d9d85121d
Clear up Mismatched BE types error message
2022-05-23 08:14:05 -04:00
gingerBill
a31d23a32a
Merge pull request #1802 from odin-lang/remove-maybe-tag
...
Merge functionality of `#maybe` with the standard 'union' functionality
2022-05-23 12:35:06 +01:00
gingerBill
084f431aa5
Correct check_transmute operand logic
2022-05-23 12:19:33 +01:00
gingerBill
3ec70c5517
Merge functionality of #maybe with the standard 'union' functionality
2022-05-23 12:04:19 +01:00
gingerBill
d9f293b281
Add better error message for trying to dereference a multi-pointer
2022-05-23 11:50:05 +01:00
gingerBill
438713af20
Allow transmute on constant expressions
2022-05-23 11:33:52 +01:00
gingerBill
dca2fbccff
Improve ternary if type inference
2022-05-11 12:15:10 +01:00
gingerBill
8a9f7fc684
Fix #1713
2022-04-14 15:09:03 +01:00
gingerBill
3f935bea25
union #shared_nil
...
This adds a feature to `union` which requires all the variants to have a `nil` value and on assign to the union, checks whether that value is `nil` or not. If the value is `nil`, the union will be `nil` (thus sharing the `nil` value)
2022-03-24 11:55:03 +00:00
gitlost
10c5825715
Fix issue #829 "Compiler crashes when declaring maps with procedure"
...
Inits `o->value` in `check_expr_base_internal()` so doesn't accidentally
use last (the proc lit was being set to that of previous string)
Adds test to "tests/issues" and changes CI to use new "run" shells
2022-03-23 12:56:37 +00:00
gingerBill
a68f0b2d72
Improve procedure group selection based on the minimum number of arguments
2022-03-18 22:18:12 +00:00
gingerBill
a7adb2fb6e
Merge branch 'master' into freestanding_amd64
2022-03-14 11:02:59 +00:00
gingerBill
49fecbdc5e
Improve error message when there is "no field" found for a large anonymous struct
2022-03-01 14:49:05 +00:00
gingerBill
278e239973
Commit rest of code for -disallow-rtti
2022-02-28 13:40:01 +00:00
gingerBill
e81ed9a960
Add "Did you mean" to Objective-C fields
2022-02-22 23:19:49 +00:00
gingerBill
65dedbb1ca
Add #subtype struct field prefix, required to have a COM interface hierarchy
2022-02-16 11:54:15 +00:00
gingerBill
0e5928ff39
Correct pseudo selector code generation
2022-02-15 15:16:30 +00:00
gingerBill
c5d348515d
Add intrinsics.type_is_subtype_of; intrinsics.objc_selector_name
2022-02-08 22:59:37 +00:00
gingerBill
445ca70521
Correct implicit union cast
2022-02-05 16:11:48 +00:00
gingerBill
c6ab8f82c8
Code refactor to aid development
2022-02-05 15:17:47 +00:00
gingerBill
67ce0ec29f
Improve printing for unhandled cases by adding a new line before the cases
2022-02-05 14:58:13 +00:00
gingerBill
23c3573c30
Minor correction to error message suggestion
2022-02-05 14:56:06 +00:00
gingerBill
a4308e7246
Improve union variant assignment determination
2022-02-05 14:45:59 +00:00
gingerBill
3439139b1c
Minor clean up
2022-02-05 14:34:29 +00:00
gingerBill
dd84b61cc8
Correct add_to_seen_map logic
2022-02-05 14:07:17 +00:00
gingerBill
b8c4bf2afb
Add #partial [Enum]Type{...} support to check for missing enumerated array fields
2022-02-05 14:02:21 +00:00
gingerBill
d5384c5aa4
Only check idents in the alias (of alias)+ problem
2022-02-04 22:45:13 +00:00
gingerBill
3a81f2ab89
Correct the type aliasing problem, caused by aliases (of aliases)+
2022-02-04 22:40:15 +00:00
gingerBill
35c90fe124
Fix type alias declaration evaluation problem ( #854 #1439 )
2022-02-03 13:34:31 +00:00
gingerBill
24e7356825
Add #no_type_assert and #type_assert to disable implicit type assertions with x.(T)
2022-01-27 16:08:47 +00:00
gingerBill
f16f1d932e
Fix #1448
2022-01-25 14:24:15 +00:00
gingerBill
fe0b5bf4e2
Parse comments on enums fields
2022-01-24 23:28:59 +00:00
gingerBill
42ab882db4
Remove debug code
2022-01-24 15:56:26 +00:00
gingerBill
dcc9e61362
Correct string_append_token
2022-01-24 14:52:43 +00:00
gingerBill
56b4e0a3c3
Fix #1267
2022-01-23 15:40:46 +00:00