Thread overview
[Issue 12490] No "Error: , has no effect" Error for comma expression LHS
Jul 04, 2020
Basile-z
Jul 06, 2020
Dlang Bot
Jul 14, 2020
Dlang Bot
July 04, 2020
https://issues.dlang.org/show_bug.cgi?id=12490

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid, diagnostic
                 CC|                            |b2.temp@gmx.com
            Summary|No "Error: , has no effect" |No "Error: , has no effect"
                   |Error                       |Error for comma expression
                   |                            |LHS

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
---
void someFun(){}

void main()
{
    5, someFun();
    1 + 2, someFun();
}
---

--
July 06, 2020
https://issues.dlang.org/show_bug.cgi?id=12490

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@NilsLankila created dlang/dmd pull request #11377 "fix issue 12490 - No "Error: , has no effect" Error for comma expression LHS" fixing this issue:

- fix issue 12490 - No "Error: , has no effect" Error for comma expression LHS

  Following a comment in sideeffect.d on how to check the LHS.

https://github.com/dlang/dmd/pull/11377

--
July 14, 2020
https://issues.dlang.org/show_bug.cgi?id=12490

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11377 "fix issue 12490 - No "Error: , has no effect" Error for comma expression LHS" was merged into master:

- 5c4c630ab3be05b3cc3b60165b0e662f5d98eaa9 by Nils Lankila:
  fix issue 12490 - No "Error: , has no effect" Error for comma expression LHS

  Following a comment in sideeffect.d on how to check the LHS.

https://github.com/dlang/dmd/pull/11377

--