[dmd-internals] [D-Programming-Language/dmd] 90cf47: fix diagnostic for failed IFTI

GitHub via dmd-internals dmd-internals at puremagic.com
Mon Feb 1 19:02:11 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 90cf474385011eb5a5ab9cd1a013e2b9c6160a14
      https://github.com/D-Programming-Language/dmd/commit/90cf474385011eb5a5ab9cd1a013e2b9c6160a14
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-02-02 (Tue, 02 Feb 2016)

  Changed paths:
    M src/dtemplate.d
    M test/fail_compilation/ice11850.d

  Log Message:
  -----------
  fix diagnostic for failed IFTI


  Commit: 4c2c97369e531cd3cb4de157cb54a4d2d7b6416f
      https://github.com/D-Programming-Language/dmd/commit/4c2c97369e531cd3cb4de157cb54a4d2d7b6416f
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-02-02 (Tue, 02 Feb 2016)

  Changed paths:
    M src/mtype.d
    M test/runnable/funclit.d

  Log Message:
  -----------
  fix for std.numeric.findRoot default argument delegate


  Commit: a81cdc4b1a7e288fbcab7c13cb0370356bde9385
      https://github.com/D-Programming-Language/dmd/commit/a81cdc4b1a7e288fbcab7c13cb0370356bde9385
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-02-02 (Tue, 02 Feb 2016)

  Changed paths:
    M src/declaration.d
    M src/delegatize.d
    M src/expression.d
    M src/func.d
    M test/compilable/test14973.d
    M test/fail_compilation/diag9831.d
    M test/fail_compilation/fail11545.d
    M test/fail_compilation/fail120.d
    M test/fail_compilation/fail39.d
    A test/fail_compilation/ice15332.d

  Log Message:
  -----------
  fix Issue 15332 - ICE in e2ir.c: assert(irs->sthis) in visit(ThisExp), function literal with keyword 'function' calls method

Set `FuncLiteralDeclaration.tok` to `TOKdelegate` if its `isNested()` actually returns `true`.

This is not complete, temporary disable `compilable/test14973.d` case.


  Commit: c80bfca2d8f43e2f9b87e79473c7f6b677db66d3
      https://github.com/D-Programming-Language/dmd/commit/c80bfca2d8f43e2f9b87e79473c7f6b677db66d3
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-02-02 (Tue, 02 Feb 2016)

  Changed paths:
    M src/dtemplate.d
    M src/e2ir.c
    M src/func.d
    M test/compilable/test14973.d
    M test/fail_compilation/ice10922.d

  Log Message:
  -----------
  Fix issue 14973 case again

For the correct lambda context inference, serialize semantic3 order of any
template instances with lambdas.

Then, an inner lambda nested-ness will be determined always in previous of enclosing lambdas.


  Commit: 0305ce7e16251cce29b480bc45625f35d2fb9f07
      https://github.com/D-Programming-Language/dmd/commit/0305ce7e16251cce29b480bc45625f35d2fb9f07
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-02-02 (Tue, 02 Feb 2016)

  Changed paths:
    A test/fail_compilation/diag15411.d

  Log Message:
  -----------
  fix Issue 15411 - Function literal accessing variable in declaration scope produces bad error message with inline call


  Commit: 76c6f8c2bebd4f285d20aeb887890e47eb9fb51d
      https://github.com/D-Programming-Language/dmd/commit/76c6f8c2bebd4f285d20aeb887890e47eb9fb51d
  Author: Iain Buclaw <ibuclaw at gdcproject.org>
  Date:   2016-02-02 (Tue, 02 Feb 2016)

  Changed paths:
    M src/declaration.d
    M src/delegatize.d
    M src/dtemplate.d
    M src/e2ir.c
    M src/expression.d
    M src/func.d
    M src/mtype.d
    M test/compilable/test14973.d
    A test/fail_compilation/diag15411.d
    M test/fail_compilation/diag9831.d
    M test/fail_compilation/fail11545.d
    M test/fail_compilation/fail120.d
    M test/fail_compilation/fail39.d
    M test/fail_compilation/ice10922.d
    M test/fail_compilation/ice11850.d
    A test/fail_compilation/ice15332.d
    M test/runnable/funclit.d

  Log Message:
  -----------
  Merge pull request #5271 from 9rnsr/fix15332

Issue 15332 - ICE in e2ir.c: assert(irs->sthis) in visit(ThisExp), function literal with keyword 'function' calls method


Compare: https://github.com/D-Programming-Language/dmd/compare/1a407903e9ec...76c6f8c2bebd


More information about the dmd-internals mailing list