[dmd-internals] [D-Programming-Language/dmd] d2c161: Remove global.gag check in DsymbolExp.resolve()
GitHub via dmd-internals
dmd-internals at puremagic.com
Tue Sep 29 01:16:20 PDT 2015
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: d2c161ce732a1898078d4b175996b05a0f5b65e4
https://github.com/D-Programming-Language/dmd/commit/d2c161ce732a1898078d4b175996b05a0f5b65e4
Author: k-hara <k.hara.pg at gmail.com>
Date: 2015-09-28 (Mon, 28 Sep 2015)
Changed paths:
M src/dtemplate.d
M src/expression.d
M src/template.h
M test/fail_compilation/test8556.d
Log Message:
-----------
Remove global.gag check in DsymbolExp.resolve()
When an instance that will be converted to a constant exists,
the instance representation "foo!tiargs" is treated like a
variable name, and its recursive appearance check (note that
it's equivalent with a recursive instantiation of foo) is done
separately from the circular initialization check for the
eponymous enum variable declaration.
By the approach, we can remove problematic `global.gag` check in
`DsymbolExp::semantic()` without breaking `fail_compilation/diag10141.d`.
Commit: 6a062c6ca37dce06533167b074277320bc8f9ec2
https://github.com/D-Programming-Language/dmd/commit/6a062c6ca37dce06533167b074277320bc8f9ec2
Author: Walter Bright <walter at walterbright.com>
Date: 2015-09-29 (Tue, 29 Sep 2015)
Changed paths:
M src/dtemplate.d
M src/expression.d
M src/template.h
M test/fail_compilation/test8556.d
Log Message:
-----------
Merge pull request #5135 from 9rnsr/remove_gagcheck
Remove global.gag check in DsymbolExp.resolve()
Compare: https://github.com/D-Programming-Language/dmd/compare/883830cba3fd...6a062c6ca37d
More information about the dmd-internals
mailing list