July 05, 2003
Burton Radons wrote:

>    void foo ()
>    {
>       B.Z bar (inout int p)
>       {
>       }
>    }
> 
> Compiling this with "dmd f.d" using DMD 0.67 says:
> 
>    f.d(3): found 'bar' when expecting ';'
>    f.d(3): expression expected, not 'inout'
>    f.d(3): found 'int' when expecting ')'
>    f.d(3): found 'p' when expecting ';'
>    f.d(3): found ')' instead of statement
>    f.d(7): found 'EOF' instead of statement
>    f.d(7): found 'EOF' instead of statement
>    f.d(7): found 'EOF' instead of statement
>    f.d(7): found 'EOF' instead of statement
>    f.d(7): found 'EOF' instead of statement
>    f.d(7): found 'EOF' instead of statement
> 
> The "inout", the "B.Z" form, and the nested function status are all needed.  It's clearly a statement misidentification.

Sorry, the "B.Z" is not needed.  It triggers fine using any user-defined type.

July 06, 2003
Some bugs of dmd 0.67 (Windows version).


July 07, 2003
Thanks, I'll take care of it. BTW, could you please post bug reports with their own title? This will make it a bit easier for me to manage them. Thanks, -Walter

"Burton Radons" <loth@users.sourceforge.net> wrote in message news:be75ri$2brj$1@digitaldaemon.com...
>     void foo ()
>     {
>        B.Z bar (inout int p)
>        {
>        }
>     }
>
> Compiling this with "dmd f.d" using DMD 0.67 says:
>
>     f.d(3): found 'bar' when expecting ';'
>     f.d(3): expression expected, not 'inout'
>     f.d(3): found 'int' when expecting ')'
>     f.d(3): found 'p' when expecting ';'
>     f.d(3): found ')' instead of statement
>     f.d(7): found 'EOF' instead of statement
>     f.d(7): found 'EOF' instead of statement
>     f.d(7): found 'EOF' instead of statement
>     f.d(7): found 'EOF' instead of statement
>     f.d(7): found 'EOF' instead of statement
>     f.d(7): found 'EOF' instead of statement
>
> The "inout", the "B.Z" form, and the nested function status are all needed.  It's clearly a statement misidentification.
>


1 2 3
Next ›   Last »