aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve parapoly support for `^T` to `[^]$V` and vice versagingerBill2022-09-201-0/+12
|
* Fixed #2044 Uninitialised constant struct member values can cause crashgingerBill2022-09-171-1/+7
| | | | | | | | | | | | | | Foo :: struct { x: i32, data: sa.Small_Array(10, i32), } defaultFoo :: Foo{ x = 1, // The 'data' value is not set! } fmt.println(defaultFoo.data) // caused the bug
* Fix #1992 `size_of` a relative slice crashes the compilergingerBill2022-09-051-0/+1
|
* Fix #2017 mismatched types in binary matrix expression for `flt * (mat * vec)`gingerBill2022-09-051-1/+4
|
* Fix #2018 type assertion on untyped nil within a ternary if expressiongingerBill2022-09-051-7/+8
|
* Remove redundant codeJasperGeer2022-09-041-9/+3
|
* Remove unnecessary orJasperGeer2022-09-041-2/+2
|
* Err on types passed as operands to ternary if expressionsJasperGeer2022-09-041-0/+14
|
* Fix code generation related to Objective-C related `x->y()` callsgingerBill2022-09-011-1/+4
|
* Improve `matrix` conversion rulesgingerBill2022-08-161-0/+4
|
* Allow for chaining of '#load(path) or_else #load(path)'gingerBill2022-08-111-26/+29
|
* Improve type hint for #load to allow for string typesgingerBill2022-08-111-6/+8
|
* 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
|