aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove the need for `type->Map.internal_type` and replace with the ↵gingerBill2022-11-081-1/+0
| | | | definition of `runtime.Raw_Map`
* Begin work on implementing the new `map` internalsgingerBill2022-11-071-1/+0
|
* check addressing mode insteadJasperGeer2022-10-261-2/+2
|
* don't suggest u8 slice cast to string for u8 slice literalJasperGeer2022-10-231-2/+2
|
* throw type checker error when scalar cast to non-square matrixJasper Geer2022-10-211-5/+6
|
* Allow `transmute` to be constant for integers of the same internal endiannessgingerBill2022-10-191-10/+51
|
* Fix #2016 when passing an untyped integer to a generic `typeid` parametergingerBill2022-10-111-1/+7
|
* Improve error message for slicing an enumerated arraygingerBill2022-09-221-1/+14
|
* Improve suggestions for certain assignmentsgingerBill2022-09-221-1/+13
|
* Minor style changegingerBill2022-09-221-3/+2
|
* Improve error message for `check_is_expressible` (Cannot convert X to Y from Z)gingerBill2022-09-221-3/+6
|
* Improve error messages for compile time known bounds checkinggingerBill2022-09-221-4/+8
|
* Correct parapoly determination of generated internal type of a `map`gingerBill2022-09-221-1/+7
|
* 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
| |