https://issues.dlang.org/show_bug.cgi?id=15071
Steve Biedermann <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steve.biedermann.privat@gma | |il.com --- Comment #7 from Steve Biedermann <[email protected]> --- The same issue occurs on windows. If you misstype the import, you get link errors instead of dmd import errors. e.g.: main.d: import Bug; void main() { Bug b = new Bug(); b.print("test"); } bug.d: import std.stdio; public class Bug { void print(string str) { writeln(str); } } compiled with: dmd main.d output: OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html main.obj(main) Error 42: Symbol Undefined _D3Bug3Bug7__ClassZ main.obj(main) Error 42: Symbol Undefined _D3Bug12__ModuleInfoZ --- errorlevel 2 --
