digitalmars.D.bugs - [Issue 5398] New: Unterminated doc comment ignored
- d-bugmail puremagic.com (62/62) Jan 01 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5398
- d-bugmail puremagic.com (13/13) Jan 01 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5398
- d-bugmail puremagic.com (11/11) Dec 23 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5398
http://d.puremagic.com/issues/show_bug.cgi?id=5398 Summary: Unterminated doc comment ignored Product: D Version: D1 & D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: robert octarineparrot.com 21:49:02 GMT --- When the following is compiled with ---- dmd -unittest -c Sqlite.d ---- Sqlite.d: ---- module Sqlite; import Database; class SqliteDatabase { public Result!(T) execute(T)() { assert(0); } } unittest { auto db = new SqliteDatabase(); struct Test { } db.execute!(Test)(); } ---- Database.d: ---- module Database; class Result(T) { T[] mResults; //import tango.util.log.Trace; import tango.util.log.Log; size_t length() { return mResults.length; } } ---- Log.d: ---- module Log; /+/++/ --- dmd compiles without error, when it should complain about the unterminated documentation comment in Log.d. In LDC this leads to some weird semantic errors: http://dsource.org/projects/ldc/ticket/447 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 01 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5398 Robert Clipsham <robert octarineparrot.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid URL| |http://dsource.org/projects | |/ldc/ticket/447 22:06:36 GMT --- import tango.util.log.Log; <= that line should be import Log; obviously, that's a remnant from an old version of the code before I narrowed it down. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 01 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5398 Robert Clipsham <robert octarineparrot.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME 14:10:37 GMT --- Seems to be working now. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 23 2011