aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
AgeCommit message (Expand)Author
2018-09-05stage1 compile error instead of crashing for unsupported comptime ptr castAndrew Kelley
2018-09-05stage1: fix crash when invalid type used in array typeAndrew Kelley
2018-09-04compile error for @noInlineCall on an inline fnAndrew Kelley
2018-09-04add compile error for comptime control flow inside runtime blockAndrew Kelley
2018-08-28add test coverage for invalid switch expression parameterAndrew Kelley
2018-08-28add compile error for function prototype with no bodyAndrew Kelley
2018-08-27fix @typeInfo unable to distinguish compile error vs no-payloadAndrew Kelley
2018-08-03better support for `_` identifierkristopher tate
2018-08-02pull request fixupsAndrew Kelley
2018-08-02test/compile_errors.zig: update test to reflect that the promise symbol is no...kristopher tate
2018-08-02test/compile_errors.zig: @handle() in non-async functionkristopher tate
2018-08-02test/compile_errors.zig: @handle() called outside of function definition;kristopher tate
2018-07-26add compile error for ignoring return value of while loop bodiesAndrew Kelley
2018-07-25add compile error for missing parameter name of generic functionAndrew Kelley
2018-07-25add compile error for non-inline for loop on comptime typeAndrew Kelley
2018-07-24fix logic for determining whether param requires comptimeAndrew Kelley
2018-07-16all integer sizes are available as primitivesAndrew Kelley
2018-07-11add compile error for disallowed types in extern structsAndrew Kelley
2018-07-10fix crash when calling comptime-known undefined function ptrAndrew Kelley
2018-07-09langref: docs for invalid error set cast and incorrect pointer alignmentAndrew Kelley
2018-07-09fix crash on @ptrToInt of a *voidAndrew Kelley
2018-07-07add @popCount intrinsicAndrew Kelley
2018-07-06add compile error notes for where struct definitions areAndrew Kelley
2018-07-04Fix assertion crash on enum switch valuesIsaac Hier
2018-07-01Merge pull request #1185 from ziglang/undefined-at-comptime-improvementsAndrew Kelley
2018-06-30Fixed line numbers for testsJimmi Holst Christensen
2018-06-30Expanded the list of operators that catch undefined values at comptimeJimmi Holst Christensen
2018-06-30Revert "ir_resolve_const now checks recursivly for undef values"Jimmi Holst Christensen
2018-06-29Clarify reason implicit cast does not work for large RHS (#1168)isaachier
2018-06-29ir_resolve_const now checks recursivly for undef valuesJimmi HC
2018-06-21fix compiler crash for invalid enumAndrew Kelley
2018-06-19remove redundant implicit casting codeAndrew Kelley
2018-06-19`@floatToInt` now has safety-checked undefined behaviorAndrew Kelley
2018-06-19remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum`Andrew Kelley
2018-06-18remove error to/from int casting syntax; add `@errorToInt`/`@intToError`Andrew Kelley
2018-06-18remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes`Andrew Kelley
2018-06-18disallow opaque as a return type of fn type syntaxAndrew Kelley
2018-06-18fix compiler crash when using @intToFloat with float literalAndrew Kelley
2018-06-17update test casesAndrew Kelley
2018-06-16don't automatically take pointer when passing by non-copying valueAndrew Kelley
2018-06-16allow passing by non-copying valueAndrew Kelley
2018-06-13disallow implicit casts that break rules for optionalsAndrew Kelley
2018-06-10breaking syntax change: orelse keyword instead of ?? (#1096)Andrew Kelley
2018-06-09breaking syntax change: ??x to x.? (#1095)Andrew Kelley
2018-06-07fix structs that contain types which require comptimeAndrew Kelley
2018-06-05add test for not allowing implicit cast from T to [*]const TAndrew Kelley
2018-06-05disable deref syntax for unknown length pointersAndrew Kelley
2018-06-05disable field access for unknown length pointersAndrew Kelley
2018-06-05disallow unknown-length pointer to opaqueAndrew Kelley
2018-06-05fix crash when evaluating return type has compile errorAndrew Kelley