| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-04-29 | move behavior tests from test/stage1/ to test/ | Andrew Kelley | |
| And fix test cases to make them pass. This is in preparation for starting to pass behavior tests with self-hosted. | |||
| 2021-04-29 | update behavior tests with respect to new builtin pkg | Andrew Kelley | |
| 2021-04-29 | tests: prepare behavior tests for stage2 | Andrew Kelley | |
| 2021-03-02 | re-enable behavior tests: translate-c macros | Andrew Kelley | |
| These were temporarily disabled in dd973fb365dbbe11ce5beac8b4889bfab3fddc4d and we forgot re-enable them until now. | |||
| 2021-01-02 | std: Use {s} instead of {} when printing strings | LemonBoy | |
| 2020-11-29 | stage1: Add missing bitcast when rendering var ptr | LemonBoy | |
| Some types require this extra bitcast, eg. structs or unions with extra padding fields inserted by the compiler. Fixes #7250 | |||
| 2020-11-25 | stage1: Fix ICE when generating struct fields with padding | LemonBoy | |
| Make gen_const_ptr_struct_recursive aware of the possible presence of some trailing padding by always bitcasting the pointer to its expected type. Not an elegant solution but makes LLVM happy and is consistent with how the other callsites are handling this case. Fixes #5398 | |||
| 2020-11-13 | stage1: Resolve ErrorUnion children types | LemonBoy | |
| Since the code is accessing the abi_size field compute the full type size for both err_set_type and payload_type, not only for the latter. | |||
| 2020-11-11 | stage1: Fix crash in comptime struct generation | LemonBoy | |
| Using the gen_index rather than the src_index is needed to handle structures containing zero-sized or comptime only types. Closes #7027 | |||
| 2020-11-10 | stage1: Fix comparison of unions containing zero-sized types | LemonBoy | |
| The code tried to be too smart and skipped the equality (returning true) if the payload type was zero-sized. This optimization is completely wrong when the union payload is a metatype! Fixes #7047 | |||
| 2020-10-29 | stage1: Fix bug in internal string slicing (#6843) | LemonBoy | |
| Closes #6456 | |||
| 2020-10-29 | stage1: Fix small bug in pointer type analysis | LemonBoy | |
| A flag meant to catch recursively-defined types was never reset, leading the compiler to generate wrong answers when asked for its type/alignment. Closes #6850 | |||
| 2020-10-26 | add regression test for already fixed bug | Andrew Kelley | |
| closes #6781 | |||
| 2020-07-16 | add behavior tests fro macro translations | Vexu | |
| 2020-06-24 | Fixed crash when resolving peer types of *[N:s]const T and [*:s]const T | Alexandros Naskos | |
| 2020-06-18 | add tests for `@src` | Vexu | |
| 2020-06-09 | Add basic tests for the new builtins | Jakub Konka | |
| 2020-06-05 | stage1: fix constness in some corner cases | Michael Dusan | |
| - for one-possible-value types, ir_analyze_struct_field_ptr() no longer hardcodes const/volatile - when slicing arrays, ir_analyze_instruction_slice() no longer consults ConstValSpecialStatic closes #5474 | |||
| 2020-05-31 | stage1: fix unresolved inferred error sets | xackus | |
| 2020-05-30 | Merge pull request #5184 from alexnask/typeof_extern_call | Veikka Tuominen | |
| Extern functions are now evaluated to undefined values at comptime in TypeOf calls. | |||
| 2020-05-26 | Changed test name to reflect it only fixes #4328 | Alexandros Naskos | |
| 2020-05-18 | Updated test | Alexandros Naskos | |
| 2020-05-18 | Narrow down behaviour test cases; this removes wasmtime-enabled check in tests | Jakub Konka | |
| 2020-04-27 | Added tests. | Alexandros Naskos | |
| 2020-04-07 | fix lazy value in ir_analyze_instruction_elem_ptr | xackus | |
| 2020-04-03 | stage1: add compile errors for sentinel slicing | Michael Dusan | |
| closes #3963 | |||
| 2020-03-30 | added unit tests to demonstrate #4769 and related bugs | Kelly Boothby | |
| 2020-03-03 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-02-25 | add test case to catch regression from previous commit | Andrew Kelley | |
| Once this test case is passing, previous commit can be re-added. Closes #4560 | |||
| 2020-02-25 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-02-24 | Merge pull request #4516 from xackus/remove-bytes-to-slice | Andrew Kelley | |
| remove @bytesToSlice, @sliceToBytes from the language | |||
| 2020-02-23 | remove @bytesToSlice, @sliceToBytes from tests, docs | xackus | |
| 2020-02-21 | add regression test for already fixed bug | Andrew Kelley | |
| closes #3586 | |||
| 2020-01-30 | drop @newStackCall | Andrew Kelley | |
| this was causing unrelated behavior tests to fail. if this commit is reverted, the docs are good, but `@newStackCall` is already deprecated in favor of `@call`, supplying the `stack` property. | |||
| 2019-12-08 | implement tuple concatenation | Andrew Kelley | |
| 2019-12-06 | add regression test for fixed bug | Andrew Kelley | |
| closes #3742 | |||
| 2019-12-05 | implement `@call` | Andrew Kelley | |
| closes #3732 | |||
| 2019-11-18 | add regression test case. closes #2889 | Andrew Kelley | |
| 2019-11-18 | add regression test case. closes #3007 | Andrew Kelley | |
| 2019-10-10 | stage1: fix ir_resolve_str() to return slice | Michael Dusan | |
| `ir_resolve_str()` bug returns array expression even when when sliced to a lesser length. Fix is to return array if slice.len == array.len, otherwise return slice. Bug report use-case is based on one builtin function. However, at least the following builtins were exposed to the bug: `@byteOffsetOf` `@cDefine` `@cImport` `@cInclude` `@cUndef` `@compileError` `@embedFile` `@export` `@fieldParentPtr` `@hasDecl` `@hasField` `@import` `@unionInit` closes #3384 | |||
| 2019-10-05 | fix container member access for fn/struct-fn | Michael Dusan | |
| - decls brought in via `usingnamespace` were not always found because lookup was performed directly against decl_table and use_decls was never consulted - fix to use find_container_decl() path instead - closes #3367 | |||
| 2019-09-27 | add regression test for alignment of constants | Andrew Kelley | |
| closes #1741 | |||
| 2019-09-24 | add VarDecl support for struct-method call syntax | Michael Dusan | |
| implements #3306 | |||
| 2019-09-21 | add behavior test for float widening f16 to f128 | Andrew Kelley | |
| it's disabled on aarch64, see #3282 | |||
| 2019-09-21 | Adjust tests for AArch64 | LemonBoy | |
| 2019-09-21 | Fix generation of tail fields for packed struct | LemonBoy | |
| 2019-09-20 | add test case for already fixed bug | Andrew Kelley | |
| closes #3046 | |||
| 2019-09-18 | rework the implementation | Andrew Kelley | |
| * update documentation - move `@shuffle` to be sorted alphabetically - remove mention of LLVM - minor clarifications & rewording * introduce ir_resolve_vector_elem_type to avoid duplicate compile error message and duplicate vector element checking logic * rework ir_analyze_shuffle_vector to solve various issues * improve `@shuffle` to allow implicit cast of arrays * the shuffle tests weren't being run | |||
| 2019-09-03 | Add @Type builtin | Jonathan Marler | |
| 2019-09-01 | add regression test for already fixed bug | Andrew Kelley | |
| closes #2692 | |||
