aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Error if -no-thread-local is used in presence of -no-crt on Unixflysand72025-01-171-13/+0
|
* Added compile-time checks for thread locals with -no-crtflysand72025-01-171-1/+14
| | | | | | | | Now using any thread-local variables with -no-crt enabled will cause a compiler error, unless -no-thread-local is given. Also fixed a minor typo in a comment.
* Merge pull request #4601 from Barinzaya/simd_vector_broadcastinggingerBill2025-01-061-0/+20
|\ | | | | Implicit broadcasting for SIMD arrays
| * Added some implicit broadcasting for #simd arrays.Barinzaya2024-12-191-0/+20
| | | | | | | | | | | | This covers broadcasting from untyped numbers when assigning, as well as when performing binary operations. SIMD intrinsics have not been adjusted
* | Make `-no-dynamic-literals` the default nowgingerBill2025-01-051-16/+21
| |
* | Add `#+feature dynamic-literals`gingerBill2025-01-051-2/+8
| |
* | Add `#branch_location`gingerBill2025-01-011-0/+12
|/
* Fix #4535gingerBill2024-12-021-1/+5
|
* Fix assert when return value expected.Jeroen van Rijn2024-11-281-2/+2
|
* checker: only error with -vet-cast when it is actually castableLaytan Laats2024-11-211-1/+4
|
* Remove `#relative` types from the compilergingerBill2024-11-141-64/+0
|
* Merge pull request #4394 from seventh-chord/errormessagesgingerBill2024-11-061-0/+9
|\ | | | | Suggestion when assigning enum to bit_set
| * Suggestion when assigning enum to bit_setMorten Hauke Solvang2024-10-191-0/+9
| |
* | Fix previous commit for arraysgingerBill2024-11-041-10/+9
| |
* | Fix bug for `foo().bar` where `foo()` is a 0-value expressiongingerBill2024-11-041-12/+16
| |
* | Fix bug caused due to incorrect type checking looking for `context` not ↵gingerBill2024-10-271-0/+1
|/ | | | defined in a context
* Fix #4373gingerBill2024-10-131-2/+8
|
* fix not erroring on invalid ternaryLaytan Laats2024-10-021-5/+0
| | | | | | | For example: `a: f32 = true ? 1 : len` would get to the back-end without errors. Fixes #1690
* Forbid labelled or-branch expressions within `defer`Feoramund2024-09-191-0/+4
|
* add '#caller_expression'Laytan Laats2024-09-141-1/+6
|
* Add `Suggested Example` for using an inline procedure which enables a target ↵gingerBill2024-09-121-0/+3
| | | | feature
* fix reuse of slice for varargs with poly typesLaytan Laats2024-09-121-16/+17
|
* Allow `transmute(Bit_Set)~T(0)`gingerBill2024-09-111-1/+2
|
* Fix #4229 for edge case `os.Error`/`os.Errno` legacy bodgegingerBill2024-09-111-1/+1
|
* Allow ExactValue_Invalid in assert.fix-4225Jeroen van Rijn2024-09-101-1/+1
| | | | Fixes #4225
* Remove extra format item at end of `context` error messageFeoramund2024-09-011-1/+1
|
* Fix `new(sync.Mutex)`gingerBill2024-08-311-1/+1
|
* Fix #4156gingerBill2024-08-311-1/+1
|
* Make `~some_bit_set` work on only the possible bits by doing a mask with the ↵gingerBill2024-08-301-1/+85
| | | | full set
* Fix #4079gingerBill2024-08-241-4/+5
|
* Merge pull request #4130 from fusion32/fix-ambiguous-generic-type-namesgingerBill2024-08-241-3/+5
|\ | | | | fix ambiguous generic type names
| * fix wrong exact value kind comparisonfusion322024-08-231-1/+1
| |
| * fix ambiguous generic type namesfusion322024-08-231-3/+5
| |
* | #4115 Add `Suggestion: 'typeid_of(T)'`gingerBill2024-08-241-0/+4
| |
* | #4119 Add error when doing `{.A | .B}` instead of `{.A, .B}` with a ↵gingerBill2024-08-241-0/+16
| | | | | | | | suggestion to do surround it in parentheses to make it clear it is intended
* | Fix #4126gingerBill2024-08-241-2/+2
|/
* ,Jeroen van Rijn2024-08-211-2/+2
|
* dashJeroen van Rijn2024-08-211-2/+2
|
* Add table-driven (in)definite article to some errors.Jeroen van Rijn2024-08-201-7/+15
|
* Add suggestion for `~uint(0)` if `cast(uint)-1` is donegingerBill2024-08-181-5/+15
|
* implement lshrti3 on wasmLaytan Laats2024-08-181-46/+54
|
* Fix #4024gingerBill2024-08-181-1/+8
|
* Fix #4064gingerBill2024-08-181-1/+3
|
* fix type hint propogation for shiftLaytan Laats2024-08-121-1/+1
| | | | Fixes #3856
* add clarity for diverging mismatch errorLaytan Laats2024-08-101-0/+18
|
* Fix crash if referencing import "aliased" in other file.Jeroen van Rijn2024-08-051-0/+8
| | | | Fixes #4026
* Disallow `err != 0` with `os.Error` when `-strict-style` is enabledgingerBill2024-08-041-1/+2
|
* Hack: Convert `0` to `nil`gingerBill2024-08-041-1/+4
|
* `os.Errno` -> `os.Error`gingerBill2024-08-041-0/+1
|
* Use `union #shared_nil` for `os.Error`gingerBill2024-08-041-19/+16
|