Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 26, 2010 [Issue 143] 'package' does not work at all | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=143 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |bugzilla@digitalmars.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 09, 2010 [Issue 143] 'package' does not work at all | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=143 Michal Minich <michal.minich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michal.minich@gmail.com --- Comment #2 from Michal Minich <michal.minich@gmail.com> 2010-12-09 04:45:31 PST --- test for package and private in DMD 2.050 shows that only functions and functions aliases works for both modifiers; and variables works for private only. [test.d] import pack.mod; void main () { i = 1; //pi = 1; // OK - Error: module main pack.mod.pi is private S s; C c = new C; U u; //fn (); // OK - Error: function mod.fn is not accessible from main //aFn (); // OK - Error: function mod.fn is not accessible from main aS as; } [pack/mod.d] module pack.mod; package : // private is ignored too int i; struct S {} class C {} union U {} alias S aS; // these works OK void fn () {} alias fn aFn; private int pi; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 20, 2012 [Issue 143] 'package' does not work at all | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=143 Jesse Phillips <Jesse.K.Phillips+D@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Jesse.K.Phillips+D@gmail.co | |m Target Milestone|--- |2.059 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 18, 2012 [Issue 143] 'package' does not work at all | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=143 --- Comment #3 from github-bugzilla@puremagic.com 2012-02-18 11:04:47 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1df95058f4c3c68d03ec69dd58491ff401a6434a fixed Issue 143 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 18, 2012 [Issue 143] 'package' does not work at all | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=143 --- Comment #4 from github-bugzilla@puremagic.com 2012-02-18 11:47:15 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4d3529119ba17e90a0ef634cab145be3c76270fa Revert "fixed Issue 143" This reverts commit 1df95058f4c3c68d03ec69dd58491ff401a6434a. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation