gui-cs / TerminalGuiDesigner

Forms Designer for Terminal.Gui (aka gui.cs)
MIT License
423 stars 28 forks source link

Creating a new View with an invalid name is not handled #285

Closed tznind closed 8 months ago

tznind commented 8 months ago
  1. Create a new view called 22222
  2. See error

image

Failed to create '222222.cs'
One or more errors occurred. (Could not compile D:\Repos\TerminalGuiDesigner
\src\bin\Debug\net8.0\222222.Designer.cs:
(14,27): error CS1001: Identifier expected
(14,28): error CS1513: } expected
(16,17): error CS8124: Tuple must contain at least two elements.
(16,19): error CS1022: Type or namespace definition, or end-of-file expected

(19,5): error CS1022: Type or namespace definition, or end-of-file expected
(20,1): error CS1022: Type or namespace definition, or end-of-file expected
(18,27): error CS1001: Identifier expected
(18,50): error CS1513: } expected
[...]
tznind commented 8 months ago

Fixed in b827967