| To: | REALbasic Betas <realbasic-betas at lists dot realsoftware dot com> |
|---|---|
| Subject: | overriding sub with function - bug or feature? |
| From: | Thomas Tempelmann <listuser at tempel dot org> |
| Date: | Sun, 28 Apr 2002 14:14:14 -0700 |
I just noticed that the compiler does not complain that if I have declared a function (returning something) in a class and if I then provide a same-named method without a function return in a subclass. Example: Class1: function Validate() as Boolean Class2 (subclass of Class1): sub Validate() Shouldn't this be disallowed? Thomas |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Questions about VFS format (interchange, faultproof), Joseph J. Strout |
|---|---|
| Next by Date: | Re: New release, Noah Desch |
| Previous by Thread: | Questions about VFS format (interchange, faultproof), Thomas Tempelmann |
| Next by Thread: | Re: overriding sub with function - bug or feature?, Mars Saxman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |