File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
minsk_tests/src/code_analysis/syntax Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2929 steps :
3030 - uses : actions/checkout@v4
3131 - uses : goto-bus-stop/setup-zig@v2
32- with :
33- version : 0.13.0
3432 - uses : actions/cache@v4
3533 with :
3634 path : |
Original file line number Diff line number Diff line change 11pub fn DowncastedPointer (comptime T : type , comptime U : type ) type {
22 return switch (@typeInfo (T )) {
3- .Pointer = > | p | if (p .is_const )
3+ .pointer = > | p | if (p .is_const )
44 * const U
55 else
66 * U ,
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ pub fn evaluatorTestSuite(state: *t.TestState) void {
400400 .allocated ,
401401 );
402402
403- inline for (@typeInfo (one_shot_tests ).Struct .decls ) | decl | {
403+ inline for (@typeInfo (one_shot_tests ).@ "struct" .decls ) | decl | {
404404 t .runTest (
405405 state ,
406406 void ,
You can’t perform that action at this time.
0 commit comments