Commit Graph

1271 Commits

Author SHA1 Message Date
gingerBill
1f2234a4b2 Merge branch 'master' into bill/inline-asm 2026-08-17 11:44:14 +01:00
kalsprite
72d1829fec #any_int range check constants 2026-08-16 22:08:52 -07:00
Jeroen van Rijn
3eeda58634 Merge pull request #7344 from kalsprite/simd_builtin_diagnostics
simd: enforce the `#simd` construction rules and stop two crashes
2026-08-16 12:17:39 +02:00
kalsprite
a7029ef7b6 bitset subset 2026-08-15 23:25:13 -07:00
kalsprite
e53fc6a879 simd [?] type fix; count recovery 2026-08-15 22:23:15 -07:00
gingerBill
cb903df235 #side_effects -> #volatile; Remove dead code 2026-08-13 10:03:00 +01:00
gingerBill
c085a46185 Move #side_effects and #align_stack to the specification list 2026-08-12 23:40:57 +01:00
Mihail Moskov
6a81351de3 fixes float to 128-bit int/uint conversion 2026-08-12 19:25:46 +03:00
gingerBill
8632a240fd Merge pull request #7313 from kalsprite/matrix_type_hint
check_matrix_type_hint: require the element type and layout to match
2026-08-12 13:25:25 +02:00
kalsprite
f053a40359 check_matrix_type_hint: require the element type and layout to match 2026-08-11 23:07:07 -07:00
kalsprite
973d90d7b1 enforce matrix size limits on mul; overflow dims 2026-08-11 21:31:36 -07:00
corley
87912a8b88 fixes range loop over array elements in soa containers 2026-08-11 03:20:13 +03:00
Jeroen van Rijn
3ac03e27b2 Merge pull request #7270 from corleypc/soa-array-elem-indexing-fix
Fixes chain indexing for array elements in soa containers
2026-08-09 21:55:47 +02:00
corley
e374541599 fixes chained indexing for soa containers with array element type 2026-08-09 22:23:32 +03:00
kalsprite
1a631b2f3f Fix constant string16 carrying UTF-8, and inverted slice indices reaching substring (#7268)
* str16 fix

* remove stale call
2026-08-09 21:22:13 +02:00
gingerBill
25ce7e87de Correctly type check asm template parameters 2026-08-09 18:52:57 +01:00
gingerBill
5ac28cdecd Begin work on semantically type checking asm templates 2026-08-09 18:24:56 +01:00
corley
7b45adf8e9 fixes swizzling for array elements in soa arrays/slices 2026-08-09 03:17:04 +03:00
kalsprite
3756aae0f8 incorp specialized-vs-generic poly 2026-08-07 17:58:35 -07:00
kalsprite
b475525997 Merge branch 'master' into poly 2026-08-07 17:41:30 -07:00
kalsprite
6276f6e12f src/check_expr.cpp 2026-08-06 21:51:03 -07:00
kalsprite
8b56b15ee2 make value poly score top 2026-08-06 21:05:54 -07:00
gingerBill
cce7159a55 Merge pull request #7208 from Taylbr/poly-proc-fix
Fix: Polymorphic procedures resolving to nil + further fixes
2026-08-05 16:56:34 +02:00
Jeroen van Rijn
9876fc3b9b Merge pull request #7226 from kalsprite/prefix
crash fix on poly
2026-08-05 12:44:31 +02:00
kalsprite
ab220ecee7 scoring experiment 2026-08-04 20:10:01 -07:00
kalsprite
91aec259c0 crash fix on poly 2026-08-04 19:15:24 -07:00
Jeroen van Rijn
e8e12a24b5 Merge pull request #7225 from kalsprite/field_list
minor typos
2026-08-05 04:06:05 +02:00
kalsprite
29c9c132b0 minor typos 2026-08-04 18:49:33 -07:00
Jeroen van Rijn
5c96963ec6 Merge pull request #7222 from kalsprite/header_suppressed
fix new line suppression
2026-08-05 03:37:21 +02:00
kalsprite
2e3815acdf fix new line suppression 2026-08-04 18:16:25 -07:00
Jeroen van Rijn
f1dc9ce3c1 Merge pull request #7220 from kalsprite/i64_const
fix: Signed Int Constants permitted to exceed size
2026-08-05 03:09:29 +02:00
kalsprite
cd6a913e55 fix: oob signed int consts 2026-08-04 17:34:36 -07:00
kalsprite
439ab0a52e Merge branch 'master' into upstream_fixes 2026-08-04 17:02:36 -07:00
kalsprite
49f1ea6d2a fix: named operands dont advance 2026-08-04 17:00:04 -07:00
Brody
7945cf3ac3 Merge branch 'master' into poly-proc-fix 2026-08-05 00:19:06 +10:00
Brody
91e0e6ce47 fix: record resolved entity for proc-typed default values 2026-08-04 19:12:08 +10:00
gingerBill
39e5d78aba Improve error handling on set in set comparisons to suggest using <= instead 2026-08-03 15:01:51 +01:00
Brody
87b514890c fix: instantiated procs keep their own scope
Was this check here for a reason? Investigate
2026-08-03 22:07:18 +10:00
Brody
cce1bdd8c7 fix: return true for already specialised poly proc 2026-08-03 21:42:39 +10:00
Brody
df6719cb89 fix: remove broken special case for poly proc as default value 2026-08-03 18:13:12 +10:00
aelobdog
d8eb6e0481 fix: expand_values panic on type expressions 2026-07-30 00:26:12 +05:30
aelobdog
39cbaf0494 fix: reject the use of labels as expressions 2026-07-25 19:28:56 +05:30
gingerBill
f34870f232 Merge pull request #7064 from tf2spi/7027-add-constant-typeid-comparison
Add typeid constant case to check_comparison
2026-07-16 11:18:39 +01:00
gingerBill
3f2a66044b Merge pull request #7056 from korvahkh/fix-untyped-coercion
Stricter type coercions in `convert_to_typed`
2026-07-16 11:15:41 +01:00
Jeroen van Rijn
0051152f76 Merge pull request #7042 from catermujo/push-nyzmuzxuzpox
compiler: preserve recursive struct aliases
2026-07-16 10:21:31 +02:00
misomosi
dac6e7dbad Add typeid constant case to check_comparison 2026-07-15 21:54:34 -04:00
korvahkh
f36ed5e668 Stricter type coercions in convert_to_typed
There were issues similar to #6923 with
arrays, matrices, & SIMD vectors.
This PR addresses those.
2026-07-15 10:26:15 -05:00
Isabella Basso
ca878a1de7 checker: keep polymorphic probes read-only
Overload candidate checks pass modify_type=false, but generic array
counts still specialized their candidate Type and scope entity. Parallel
probes could then observe and mutate the same partial specialization.

Resolve generic dimensions in local state and commit them only when
specializing. Keep array-like and map cache updates out of probe mode.
2026-07-15 08:51:43 -03:00
Isabella Basso
6299379911 compiler: preserve recursive struct aliases
fixes: #7037
2026-07-14 09:42:06 -03:00
RoBaertschi
c44740f570 Fix #6979 2026-07-09 14:14:05 +02:00