aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
AgeCommit message (Expand)Author
2020-08-13add error for unused/duplicate block labelsVexu
2020-08-02add compile error for alignCasting zero sized typesVexu
2020-07-28add helpful error note for when function cannot return an errorVexu
2020-07-26Merge pull request #5693 from antlilja/switch-unreachable-elseAndrew Kelley
2020-07-24Revert "Support taking extern pointers at comptime"Andrew Kelley
2020-07-24Support taking extern pointers at comptimeyvt
2020-07-18fix floatCast type check regressionVexu
2020-07-13check for invalid sentinel when creating pointer with `@Type`Vexu
2020-07-12update compile error tests and some doc commentsVexu
2020-07-11use correct cast function when doing `@floatCast` at comptimeVexu
2020-07-08fix missing check on extern variables with no typeVexu
2020-07-01Add new error message for unreachable else prongsantlilja
2020-06-28Merge pull request #5696 from alexnask/async_call_tupleAndrew Kelley
2020-06-24Fix issue #5618 (#5685)arbrk1
2020-06-24Small fixes, fixed tests, added test for argument tuple typeAlexandros Naskos
2020-06-23Add duplicate checking for switch on typesantlilja
2020-06-21Make unary minus for unsigned types a compile error (#5654)Robin Voetter
2020-06-18add tests for `@src`Vexu
2020-06-09Expose full llvm intrinsicJakub Konka
2020-06-09Add basic tests for the new builtinsJakub Konka
2020-06-08stage1: fix crash on slice byte reinterpretationxackus
2020-05-29Support equality comparison for optional to non-optional (?T ==/!= T)foobles
2020-05-26Add matching compile error testJakub Konka
2020-05-17Merge pull request #5057 from xackus/opaque-paramAndrew Kelley
2020-05-11stage1: detect underflow in bigint_fits_in_bitsxackus
2020-05-08Merge pull request #4932 from Qix-/fix-private-accessVexu
2020-05-08add failing test for #4909Josh Junon
2020-05-07stage1: handle all cases of invalid struct field default valuexackus
2020-05-05update docs/tests for async/extern fn removalTadeo Kondrak
2020-05-05Merge pull request #5272 from tadeokondrak/noasync-to-nosuspendAndrew Kelley
2020-05-05update tests for nosuspendTadeo Kondrak
2020-05-04fix missing compile error on call assigned to constVexu
2020-05-04stage1: fix assert fail on opaque fn ptr paramxackus
2020-04-28Merge pull request #5196 from tadeokondrak/@vector-to-@type-vectorAndrew Kelley
2020-04-28@Vector -> std.meta.VectorTadeo Kondrak
2020-04-28@OpaqueType -> @Type(.Opaque)Tadeo Kondrak
2020-04-24stage1: Prevent the creation of illegal ptr typesLemonBoy
2020-04-23stage1: fix crash on accessing an array of size zero with runtime indexxackus
2020-04-18update std lib to decls being disallowed between fieldsVexu
2020-04-18disallow declarations between container fieldsVexu
2020-04-18fix typeInfo testsVexu
2020-04-17add error for non-exter variadic functionsVexu
2020-04-17fix missing compile errors on builtin cast functionsVexu
2020-04-14Shift error message now says "fixed-width integer type" instead of just "inte...foobles
2020-04-09add error message for invalid assignmentVexu
2020-04-08move array and struct const checks to more appropriate placesVexu
2020-04-08fix missing compile error on assign to slice and array parametersVexu
2020-04-07fix broken testsVexu
2020-04-07fix missing const on address of literalVexu
2020-04-03add compiler-error test: coerceMichael Dusan