www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5398] New: Unterminated doc comment ignored

reply d-bugmail puremagic.com writes:
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
next sibling parent d-bugmail puremagic.com writes:
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
prev sibling parent d-bugmail puremagic.com writes:
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