[dmd-internals] [D-Programming-Language/dmd] a4348c: Add lvalue check for ref/out params with default a...
    GitHub 
    noreply at github.com
       
    Sat Oct  6 11:40:36 PDT 2012
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: a4348cc74ab4b220f5dbd692217b65b7f0559be2
      https://github.com/D-Programming-Language/dmd/commit/a4348cc74ab4b220f5dbd692217b65b7f0559be2
  Author: Andrej Mitrovic <andrej.mitrovich at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)
  Changed paths:
    M src/mtype.c
    A test/fail_compilation/fail7603a.d
    A test/fail_compilation/fail7603b.d
    A test/fail_compilation/fail7603c.d
    A test/runnable/test7603.d
  Log Message:
  -----------
  Add lvalue check for ref/out params with default arguments.
Move def arg check into semantic.
Move semantic check to FuncType.
Add more tests, do if check before assignment.
Separate fail tests.
toLvalue can take a scope. Add another test-case.
  Commit: 67681b916f7880432c7da14a714404af0254278e
      https://github.com/D-Programming-Language/dmd/commit/67681b916f7880432c7da14a714404af0254278e
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)
  Changed paths:
    M src/mtype.c
    A test/fail_compilation/fail7603a.d
    A test/fail_compilation/fail7603b.d
    A test/fail_compilation/fail7603c.d
    A test/runnable/test7603.d
  Log Message:
  -----------
  Merge pull request #1163 from AndrejMitrovic/Fix7603
Fix Issue 7603 - Default initializer for ref/out must be an lvalue
Compare: https://github.com/D-Programming-Language/dmd/compare/a0ea9c426488...67681b916f78
    
    
More information about the dmd-internals
mailing list