[dmd-internals] [D-Programming-Language/dmd] 95d00b: Fix issue 8257 __traits(compiles) gives compile er...
    GitHub 
    noreply at github.com
       
    Sat Oct 20 20:27:16 PDT 2012
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 95d00b2f0ae25d74e0091d17d5537232b8339fd4
      https://github.com/D-Programming-Language/dmd/commit/95d00b2f0ae25d74e0091d17d5537232b8339fd4
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-10-19 (Fri, 19 Oct 2012)
  Changed paths:
    M src/expression.c
    M test/runnable/delegate.d
  Log Message:
  -----------
  Fix issue 8257 __traits(compiles) gives compile error
& v.staticfunc is a function pointer, not a delegate.
Change it into (v, &typeof(v).staticfunc)
  Commit: 349edf2f8fa130d49ce2361aad2ffa03f6cd55a7
      https://github.com/D-Programming-Language/dmd/commit/349edf2f8fa130d49ce2361aad2ffa03f6cd55a7
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-10-20 (Sat, 20 Oct 2012)
  Changed paths:
    M src/expression.c
    M test/runnable/delegate.d
  Log Message:
  -----------
  Merge pull request #1194 from donc/bug8257_delegate_nonstatic
8257 x.staticfunc() is a function pointer, not a delegate
Compare: https://github.com/D-Programming-Language/dmd/compare/821a455c6f74...349edf2f8fa1
    
    
More information about the dmd-internals
mailing list