
|
If you were logged in you would be able to see more operations.
|
|
|
Boo
Created: 04/Mar/06 04:50 PM
Updated: 05/Mar/06 06:45 AM
|
|
| Component/s: |
Compiler
|
| Affects Version/s: |
None
|
| Fix Version/s: |
0.7.6
|
|
|
File Attachments:
|
1.
boo685.patch (1 kb)
|
|
Environment:
|
Boo 0.7.6.2136
|
|
import System
class Base:
private parent = object()
class Derived(Base):
def Method():
parent = "Some name"
- D:\Dokumente\SharpDevelop Projects\BooCon4\Program.boo(10,9) : error BCE0120: 'BooCon4.Base.parent' is unaccessible due to its protection level.
- When inheriting from System.Windows.Forms.Form, a lot of variable names are unavailable because of private fields in Control, Form, etc.
|
|
Description
|
import System
class Base:
private parent = object()
class Derived(Base):
def Method():
parent = "Some name"
- D:\Dokumente\SharpDevelop Projects\BooCon4\Program.boo(10,9) : error BCE0120: 'BooCon4.Base.parent' is unaccessible due to its protection level.
- When inheriting from System.Windows.Forms.Form, a lot of variable names are unavailable because of private fields in Control, Form, etc.
|
Show » |
|