Thread overview
[Issue 15148] Linker error with packages
Oct 15, 2015
Vladimir Panteleev
Dec 17, 2022
Iain Buclaw
Jun 28
RazvanN
October 03, 2015
https://issues.dlang.org/show_bug.cgi?id=15148

yazan.dabain@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal

--
October 15, 2015
https://issues.dlang.org/show_bug.cgi?id=15148

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> ---
package.d needs a module statement, it doesn't know where the hierarchy root is.

I think this is invalid.

--
October 15, 2015
https://issues.dlang.org/show_bug.cgi?id=15148

--- Comment #2 from yazan.dabain@gmail.com ---
I think it should either be a compilation error or it should just work, but not a linker error. I don't have a preference to either.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=15148

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
June 28
https://issues.dlang.org/show_bug.cgi?id=15148

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> ---
This now fails with:

```
app.d(5): Error: undefined identifier `a`

```

So it is no longer an error.

--