Ticket #5 (new defect)

Opened 10 months ago

Last modified 3 months ago

Protection in classes

Reported by: doob Assigned to: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

In D everything in a module are by default public, in Java they're only accessible in the package or something like that. Therefore I think if it's possible that everything in a Java class that uses the default protection should be declared "package" (if think that has the closest similarity) in D.

Change History

02/17/08 13:27:36 changed by keinfarbton

in D "package" makes methods also non-virtual. As discussed in IRC, this might be possible in case of fields.

However, the list of needed changes should be generated somehow.

08/30/08 08:10:18 changed by keinfarbton

Is this still an issue?