aboutsummaryrefslogtreecommitdiff
path: root/test/cases/cast.zig
AgeCommit message (Expand)Author
2019-01-29backport copy elision changesAndrew Kelley
2018-11-18fix assertion failure related to @intToEnumAndrew Kelley
2018-11-18all numbers with comptime known values implicitly castAndrew Kelley
2018-11-13New Zig formal grammar (#1685)Jimmi Holst Christensen
2018-10-26remove @minValue,@maxValue; add std.math.minInt,maxIntAndrew Kelley
2018-10-15remove implicit cast from T to *const TAndrew Kelley
2018-10-15Solve the return type ambiguity (#1628)Jimmi Holst Christensen
2018-09-26fix implicit casting to *c_voidAndrew Kelley
2018-09-20better string literal caching implementationAndrew Kelley
2018-09-13fix assertion failure on compile-time `@intToPtr` of functionAndrew Kelley
2018-09-13remove `this`. add `@This()`.Andrew Kelley
2018-09-05allow comptime_int to @floatToIntAndrew Kelley
2018-09-03ability to @ptrCast to *voidAndrew Kelley
2018-08-27minor fixupsAndrew Kelley
2018-08-27Allow implicit cast from *T and [*]T to ?*c_voidraulgrell
2018-08-22allow implicit cast from *[N]T to ?[*]T (#1398)Raul Leal
2018-07-16allow implicit cast of undefined to optionalAndrew Kelley
2018-06-27add f16 typeBen Noordhuis
2018-06-27scope variables in floating point cast testsBen Noordhuis
2018-06-19`@floatToInt` now has safety-checked undefined behaviorAndrew 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-18fix compiler crash when using @intToFloat with float literalAndrew Kelley
2018-06-17remove integer and float casting syntaxAndrew Kelley
2018-06-16don't automatically take pointer when passing by non-copying valueAndrew 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-09nullable pointers follow const-casting rulesAndrew Kelley
2018-06-07add implicit casts from `*[N]T`Andrew Kelley
2018-05-31use * for pointer type instead of &Andrew Kelley
2018-05-29run zig fmt on the codebaseAndrew Kelley
2018-05-01behavior tests passing with new pointer deref syntaxAndrew Kelley
2018-04-30[breaking] delete ptr deref prefix opAndrew Kelley
2018-03-06ptrCast builtin now gives an error for removing const qualifierAndrew Kelley
2018-02-26allow implicit cast from &const to ?&const &constBen Noordhuis
2018-02-23allow implicit cast from `S` to `?&const S`Ben Noordhuis
2018-02-02*WI* error sets - basic support workingAndrew Kelley
2018-01-31*WIP* error sets converting std libAndrew Kelley
2018-01-25syntax: functions require return type. remove `->`Andrew Kelley
2018-01-09remove %% prefix operatorAndrew Kelley
2018-01-02ir: new pass iteration strategyAndrew Kelley
2017-12-22explicitly return from blocksAndrew Kelley
2017-08-30align syntax: align(4) instead of align 4Andrew Kelley
2017-08-29more alignment improvementsAndrew Kelley
2017-08-25implement comptime bitcasting from arrayAndrew Kelley
2017-08-25fix some casts on const data causing segfaultAndrew Kelley
2017-08-17fix bitCast for big integersAndrew Kelley
2017-08-08add ptrToInt builtin, remove usize(ptr) castAndrew Kelley
2017-08-07add ability to explicitly cast float to integerAndrew Kelley
2017-06-17fix peer type resolution for array and errorAndrew Kelley