Created
January 18, 2022 19:43
-
-
Save Hirrolot/504dfe97627895c9f8f82697e27bb142 to your computer and use it in GitHub Desktop.
Zig massive compile-time error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An error occurred: | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:9:9: error: error is ignored. consider using `try`, `catch`, or `if` | |
switch (c) { | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ | |
/tmp/playground3425286633/play.zig:10:37: error: expected type '[]const u8', found 'comptime_int' | |
'*' => stdout.print(args[arg_idx]), | |
^ | |
/tmp/playground3425286633/play.zig:23:15: note: called from here | |
try printf("Mr. John has * contacts in *\n", .{ 42, "New York"}); | |
^ | |
/tmp/playground3425286633/play.zig:22:21: note: called from here | |
pub fn main() !void { | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment