# .compile-only. # this program previously caused an uncaught exception in the compiler use System.Drawing use System.Windows.Forms class MyForm inherits Form var richTextBox as RichTextBox cue init base.init .richTextBox = RichTextBox() .controls.add(.richTextBox) class Program def main Application.run(MyForm())