aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors
AgeCommit message (Collapse)Author
2023-01-05Sema: remove generic function from `monomorphed_funcs` on any errorVeikka Tuominen
2023-01-05Sema: only untyped undefined should coerce to all typesVeikka Tuominen
Closes #13958
2023-01-05Sema: improve struct/union field error locationsVeikka Tuominen
Closes #14206
2023-01-03Sema: do not immediately destroy failed generic instantiationVeikka Tuominen
Closes #12535 Closes #12765 Closes #12927
2023-01-02Sema: `@intToEnum` on non-exhaustive enum at comptime should check int is in ↵Veikka Tuominen
range Closes #14155
2022-12-31add tests for fixed stage1 bugsVeikka Tuominen
Closes #4144 Closes #4255 Closes #4372 Closes #4375 Closes #4380 Closes #4417 Closes #4423 Closes #4476 Closes #4528 Closes #4562 Closes #4572 Closes #4597 Closes #4639 Closes #4672 Closes #4782 Closes #4955 Closes #4984 Closes #4997 Closes #5010 Closes #5114 Closes #5166 Closes #5173 Closes #5276
2022-12-29Type: fix printing of default alignment on non-byte aligned pointersVeikka Tuominen
2022-12-29add tests for fixed stage1 bugsVeikka Tuominen
Closes #1957 Closes #1994 Closes #2140 Closes #2746 Closes #2802 Closes #2855 Closes #2895 Closes #2981 Closes #3054 Closes #3158 Closes #3234 Closes #3259 Closes #3371 Closes #3376 Closes #3387 Closes #3529 Closes #3653 Closes #3750 Closes #3778 Closes #3882 Closes #3915 Closes #3929 Closes #3961 Closes #3988 Closes #4123 Closes #7448
2022-12-28disable failing compile errors testAndrew Kelley
tracking issue #14105
2022-12-26Sema: add error for recursive inline callVeikka Tuominen
Closes #12973
2022-12-22Merge pull request #13960 from r00ster91/stage1cruftAndrew Kelley
Close more old stage1 issues
2022-12-21cases: more test coverager00ster91
Closes #11986 Closes #11850 Closes #12159
2022-12-19Sema: fix condition for non-pointer noalias errorVeikka Tuominen
Closes #13987
2022-12-18Merge pull request #13914 from Vexu/variadicAndrew Kelley
implement defining C variadic functions
2022-12-18Merge pull request #13930 from r00ster91/renamingsVeikka Tuominen
std.builtin: renamings
2022-12-18Call ensureResultUsed before comptime .call is evaluated.shwqf
Fixes #12580
2022-12-18std.builtin: remove layout field from Type.Enumr00ster91
2022-12-17std.builtin: rename Type.UnionField and Type.StructField's field_type to typer00ster91
2022-12-17std.builtin: rename Type.Fn's args to paramsr00ster91
This was a poor naming choice; these are parameters, not arguments. Parameters specify what kind of arguments are expected, whereas the arguments are the actual values passed.
2022-12-17implement defining C variadic functionsVeikka Tuominen
2022-12-17Sema: make is_non_{null,err} stricter about typesVeikka Tuominen
Closes #13023
2022-12-15port packed vector elem ptr logic from stage1Veikka Tuominen
Closes #12812 Closes #13925
2022-12-14Sema: display cimport errors from clangVeikka Tuominen
2022-12-14Sema: avoid analyzing functions which failed when inliningVeikka Tuominen
2022-12-14remove no longer relevant stage1 compile errorsVeikka Tuominen
2022-12-14Sema: implement missing stage1 errorsVeikka Tuominen
2022-12-14move async compile errors into their own folderVeikka Tuominen
2022-12-14move stage2 compile errors out of special folderVeikka Tuominen
2022-12-13update usages of `@call`Veikka Tuominen
2022-12-11Add a helpful note when using `**` on number types. (#13871)IntegratedQuantum
2022-12-10behavior and cases: more test coverage for old issuesr00ster91
Closes #2622 Closes #2727 Closes #6047 Closes #6947 Closes #6656
2022-12-09AstGen: add check for missing builtin argumentVeikka Tuominen
Closes #13817
2022-12-07remove stage1 specific compile error testsVeikka Tuominen
2022-12-04Sema: detect duplicate enum tag valuesr00ster91
2022-12-03Sema: add "parameter type declared here" note to type coercionVeikka Tuominen
2022-12-03add test for error message improved by self-hostedVeikka Tuominen
Closes #5099
2022-12-03Sema: improve error for mismatched type in implicit returnVeikka Tuominen
Closes #2653
2022-12-03AstGen: add error for invalid string comparisonsVeikka Tuominen
These operations are allowed because the string literals are just pointers but they produce unexpected results. These errors prevent beginners from shooting themselves in the foot while still allowing advanced users to circumvent them if they desire to do so. Closes #8290
2022-12-02Sema: add error for failed assumption about struct having runtime bitsVeikka Tuominen
2022-12-02AstGen: improve error message for missing parameter nameVeikka Tuominen
Closes #13393
2022-11-29std.mem.Allocator: allow shrink to failAndrew Kelley
closes #13535
2022-11-29Sema: add missing failWithBadMemberAccess to zirExportVeikka Tuominen
The assumption that AstGen would error only holds when exporting a identifier not a namespace member.
2022-11-29Sema: make non-existent field error point to field nameVeikka Tuominen
Closes #13698
2022-11-29Sema: explain why parameter must be declared comptimeVeikka Tuominen
Closes #13692
2022-11-26Merge pull request #13637 from Vexu/stage2-fixesVeikka Tuominen
Stage2 bug fixes
2022-11-26Sema: pass c_import_buf to child block in more placesVeikka Tuominen
Closes #13651
2022-11-26Sema: resolve union fields before using getTagTypeVeikka Tuominen
Closes #13649
2022-11-26Sema: handle anytype parameter requiring comptimeVeikka Tuominen
Closes #13645
2022-11-23Sema: improve compile error for tuple coercion mismatchVeikka Tuominen
2022-11-23add tests for tuple declarationsVeikka Tuominen