I would have thought that if you get a NilObjectException while just while typing ANYTHING in the IDE it would be considered a bug. I know I would think so if it happened in an app of mine!
Apparently RS does not think so and designs the IDE to throw NOEs if the user JUST types (not on compiles or runs) something they don't like! This is likely an autocompleter related bug IMO... even if the what I was testing is not supported typing in the IDe should NOT throw a NOE IMO! Yes I am annoyed that I took the time to fill out a bug report to help RealBasic look like a more professional product (it's not an imnport bug but it is a bug!) and to me it looks like whoever evaluated the report did not look a it very carefully. So take a look at the below and see if you think this is an IDE bug too: See: (I just edited it to fix typos) http://www.realsoftware.com/feedback/viewreport.php?reportid=qkkugyod Report ID: qkkugyod Status: Not a bug Summary: Trying to use an Enum as a Default value for method parameter Causes NOE Requests: Category: REALbasic / IDE / Code Editor / Declaration Pane - [Related Reports] Severity: Crash ( I did not see option for NOE) Description If you try to use an enum as a default method parameter as soon as you type the "." in "EnumName." the IDE throws a Nil object exception I tried it to see if it was supported (should be .. along with constants which are not either) IDE Version: REALbasic 2007r1 Target and Platform Run on: Macintosh - PPC OSX 10.4.8 UB IDE Steps to Reproduce: 1) New Project 2) New module 3) to the module add Enum: "TestEnum" and add some elements 4) To default window add new method 5) Give method a parameter: "Test as TestEnum = TestEnum." As soon as you type the "." you get a NilObjectException Workaround: Don't do that, it's not supported. Report State Change Request: Does RS understand this happens while just typing in the IDE likely because of the autocompleter? I am NOT talking about compiling or runing, just typing a method parameter in the IDE. I know if an app of mine raised a NOE while the user was typing something I would consider it a bug! Evaluation REAL Software on 2007-03-13 This is the design instead of a bug. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
