aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add `#load(path) or_else default` in favour of `#load_or(path, default)`gingerBill2022-08-111-2/+68
|
* Added back missing return statementJasper Yujin Geer2022-08-101-1/+1
|
* More accurate error messageJasper Yujin Geer2022-08-101-3/+3
|
* Throw error when untyped shift expressions have non-integral type hintsJasper Yujin Geer2022-08-101-4/+13
|
* Add `#soa` pointer type to aid with refactoring to `#soa` data typesgingerBill2022-08-081-5/+17
| | | | | | | | a: #soa[16]Foo p := &a[6] #assert(type_of(p) == #soa^#soa[16]Foo) p^.x = 123 p.x = 123
* Allow for `foo() or_else unreachable()` and other diverging proceduresgingerBill2022-08-051-3/+23
|
* Fix #1901gingerBill2022-07-241-1/+1
|
* Fix #1493gingerBill2022-07-241-2/+8
|
* Fix #1883gingerBill2022-07-161-14/+21
|
* Fix #1888gingerBill2022-07-161-2/+6
|
* Implement #1859gingerBill2022-06-261-2/+8
|
* Remove `simd_rem`; Disallow `simd_div` for integersgingerBill2022-06-021-0/+6
|
* Correct `@(require_results)` on parapoly proceduresgingerBill2022-05-301-0/+8
|
* Add arithmetic operator support for simd vectors; Add `intrinsics.simd_and_not`gingerBill2022-05-261-5/+2
|
* Improve `#simd` literal supportgingerBill2022-05-261-0/+9
|
* Remove need for `simd.splat`gingerBill2022-05-261-0/+8
|
* Correct parapoly for #simdgingerBill2022-05-251-0/+13
|
* Restrict `swizzle` to a power of two for #simdgingerBill2022-05-251-1/+5
|
* Allow for non-constant simd vector compound typesgingerBill2022-05-251-1/+1
|
* Add ranges for simd compounds literalsgingerBill2022-05-251-85/+79
|
* Allow basic casting of simd vectorsgingerBill2022-05-251-0/+12
|
* Make `#simd` an opaque typegingerBill2022-05-251-16/+8
|
* Clear up Mismatched BE types error messageCedric Hutchings2022-05-231-1/+1
|
* Merge pull request #1802 from odin-lang/remove-maybe-taggingerBill2022-05-231-1/+0
|\ | | | | Merge functionality of `#maybe` with the standard 'union' functionality
| * Merge functionality of `#maybe` with the standard 'union' functionalitygingerBill2022-05-231-1/+0
| |
* | Correct `check_transmute` operand logicgingerBill2022-05-231-0/+2
|/
* Add better error message for trying to dereference a multi-pointergingerBill2022-05-231-0/+8
|
* Allow `transmute` on constant expressionsgingerBill2022-05-231-8/+8
|
* Improve ternary if type inferencegingerBill2022-05-111-1/+5
|
* Fix #1713gingerBill2022-04-141-1/+4
|
* `union #shared_nil`gingerBill2022-03-241-2/+5
| | | | 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)
* Fix issue #829 "Compiler crashes when declaring maps with procedure"gitlost2022-03-231-0/+1
| | | | | | 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
* Improve procedure group selection based on the minimum number of argumentsgingerBill2022-03-181-16/+63
|
* Merge branch 'master' into freestanding_amd64gingerBill2022-03-141-4/+4
|\
| * Improve error message when there is "no field" found for a large anonymous ↵gingerBill2022-03-011-4/+4
| | | | | | | | struct
* | Commit rest of code for `-disallow-rtti`gingerBill2022-02-281-0/+2
|/
* Add "Did you mean" to Objective-C fieldsgingerBill2022-02-221-1/+63
|
* Add `#subtype` struct field prefix, required to have a COM interface hierarchygingerBill2022-02-161-0/+3
|
* Correct pseudo selector code generationgingerBill2022-02-151-3/+3
|
* Add `intrinsics.type_is_subtype_of`; `intrinsics.objc_selector_name`gingerBill2022-02-081-36/+0
|
* Correct implicit union castgingerBill2022-02-051-0/+11
|
* Code refactor to aid developmentgingerBill2022-02-051-1580/+1650
|
* Improve printing for unhandled cases by adding a new line before the casesgingerBill2022-02-051-1/+1
|
* Minor correction to error message suggestiongingerBill2022-02-051-1/+1
|
* Improve union variant assignment determinationgingerBill2022-02-051-0/+36
|
* Minor clean upgingerBill2022-02-051-2/+3
|
* Correct `add_to_seen_map` logicgingerBill2022-02-051-3/+7
|
* Add `#partial [Enum]Type{...}` support to check for missing enumerated array ↵gingerBill2022-02-051-0/+145
| | | | fields
* Only check idents in the alias (of alias)+ problemgingerBill2022-02-041-2/+2
|
* Correct the type aliasing problem, caused by aliases (of aliases)+gingerBill2022-02-041-1/+4
|