dotnet / try

Try .NET provides developers and content authors with tools to create interactive experiences.
MIT License
2.9k stars 526 forks source link

Warnings are being treated as errors and preventing program output from being shown #1213

Closed jonsequitur closed 5 months ago

jonsequitur commented 5 months ago

image

ocallesp commented 5 months ago

@jonsequitur I cannot reproduce this bug locally or on the Learning or Marketing servers. Do you still repro this bug? Here are the links I used

Here is the snipped code for reference:

int currentAssignments = 5;

int sophia1 = 93;
int sophia2 = 97;
int sophia3 = 88;
int sophia4 = 95;
int sophia5 = 96;

int nicolas1 = 88;
int nicolas2 = 83;
int nicolas3 = 87;
int nicolas4 = 85;
int nicolas5 = 82;

int zahirah1 = 84;
int zahirah2 = 96;
int zahirah3 = 73;
int zahirah4 = 85;
int zahirah5 = 79;

int jeong1 = 92;
int jeong2 = 95;
int jeong3 = 88;
int jeong4 = 100;
int jeong5 = 97;

int sophiaSum = sophia1 + sophia2 + sophia3 + sophia4 + sophia5;
int nicolasSum = nicolas1 + nicolas2 + nicolas3 + nicolas4 + nicolas5;
int zahirahSum = zahirah1 + zahirah2 + zahirah3 + zahirah4 + zahirah5;
int jeongSum = jeong1 + jeong2 + jeong3 + jeong4 + jeong5;

Console.WriteLine("Sophia: " + sophiaSum);
Console.WriteLine("Nicolas: " + nicolasSum);
Console.WriteLine("Zahirah: " + zahirahSum);
Console.WriteLine("Jeong: " + jeongSum);

TryDotNetIssue