aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
AgeCommit message (Expand)Author
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
2018-06-05Renamed "(int/float literal)" to "comptime_int/float"Jimmi HC
2018-06-04Pointer Reform: proper slicing and indexing (#1053)Andrew Kelley
2018-06-04disallow single-item pointer indexingAndrew Kelley
2018-06-02better compile error for error sets behind nullableAndrew Kelley
2018-06-01fix regressionsAndrew Kelley
2018-05-31use * for pointer type instead of &Andrew Kelley
2018-05-29run zig fmt on the codebaseAndrew Kelley
2018-05-17all tests passing with postfix deref syntaxAndrew Kelley
2018-05-01Resolved merge conflict.Alexandros Naskos
2018-05-01Added tests.Alexandros Naskos
2018-04-28.ReturnType and @ArgType now emits errors on unresolved typesJimmi Holst Christensen
2018-04-22add compile error for invalid deref on switch targetAndrew Kelley
2018-04-21add test case for #936Andrew Kelley
2018-04-18support break in suspend blocksAndrew Kelley
2018-04-18improve cmpxchgAndrew Kelley
2018-04-12inline functions must be stored in const or comptime varAndrew Kelley
2018-04-11allow integer and float literals to be passed to var paramsAndrew Kelley
2018-03-27fix crash when compile error in analyzing @panic callAndrew Kelley
2018-03-21change async function call syntaxAndrew Kelley
2018-03-14fix tests broken by previous commitAndrew Kelley
2018-03-13Tests for zero-bit field compiler errorAndrea Orru
2018-03-07add compile error for using @tagName on extern unionAndrew Kelley
2018-03-06fix missing compile error for returning error from void async functionAndrew Kelley
2018-03-06var is no longer a pseudo-type, it is syntaxAndrew Kelley
2018-03-06fix broken tests from previous commitAndrew Kelley
2018-03-06ptrCast builtin now gives an error for removing const qualifierAndrew Kelley
2018-02-28fix assert on self-referencing function ptr fieldBen Noordhuis
2018-02-16ability to slice an undefined pointer at compile time if the len is 0Andrew Kelley
2018-02-14fix sometimes not type checking function parametersAndrew Kelley
2018-02-09fix compiler crash switching on global error with no elseAndrew Kelley