Stub generator error in C#


When creating a puzzle, if I want to put a float input, the stub generator fails to create the right line to get it for C#, and just put something like:
float yourvalue
instead of
float yourvalue = float.Parse(Console.Readline());

A similar issue seems to exist for Dart:
double startMoney = int.parse(stdin.readLineSync());

Thanks for considering this, and have a good day/evening

Thank you for reporting this. We’ll look into it

This is fixed

I’ll leave it here:
The Pascal generator for a long declares a variable as int64 but then parses it with StrToInt instead of StrToInt64.
This causes a cryptic error like “An unhandled exception occurred at $08072076:” without even a line number.

1 Like