Permalink
Commits on Sep 7, 2011
  1. move initialization

    WalterBright committed Sep 7, 2011
Commits on Sep 5, 2011
  1. Merge pull request #364 from klickverbot/6602-template-instance-leak

    6602 – Don't add failed template instantiations to enclosing scope.
    WalterBright committed Sep 5, 2011
  2. Merge pull request #363 from donc/ctfebreak

    6601 Regression(2.053): CTFE segfault taking address of function template
    WalterBright committed Sep 5, 2011
  3. Don't add failed template instantiations to enclosing scope.

    Previously, we didn't remove a template instance from the symbol list of the enclosing scope even if error gagging was enabled, for example by Type::trySemantic. This caused the static assert in the following snipped to trigger (bug 6602), because B!short was added to the module »members« array while evaluating the __traits(compiles, …) and thus semantic analysis was run on it later:
    
    ---
    template A(T) {
      B!(T).Result result;
    }
    
    template B(U) {
      static assert(is(U == int));
      alias bool Result;
    }
    
    pragma(msg, __traits(compiles, A!short));
    ---
    
    This should be the proper fix for bug 4302, the test case for it still works.
    klickverbot committed Sep 5, 2011
Commits on Sep 4, 2011
  1. 6601 Regression(2.053): CTFE segfault taking address of function temp…

    …late
    
    Calling v->toChars() only if !v -- guaranteed segfault!
    donc committed Sep 4, 2011
Commits on Sep 2, 2011
  1. forgot ()

    WalterBright committed Sep 2, 2011
  2. Merge pull request #362 from donc/ctfebreak

    2156 and regression 5373: allow array literals as compile-time strings
    WalterBright committed Sep 2, 2011
  3. remove halt

    WalterBright committed Sep 2, 2011
  4. Merge pull request #96 from yebblies/functionpointers

    Fix conversions between function pointers
    WalterBright committed Sep 2, 2011
  5. Improve pull request 180

    Fix some minor issues with pull request 180:
    - Interpreting has already been done before calling toString, so
    ArrayLiteralExp doesn't need to call interpret.
    - This also means we don't need scope in the signature.
    - StringExp should have the type set.
    - pragma(GNU_asm) should use CTFE.
    donc committed Sep 2, 2011
Commits on Sep 1, 2011
  1. Merge pull request #361 from donc/ctfebreak

    CTFE: wrong-code bug 6558: out-by-1 error in UTF foreach
    WalterBright committed Sep 1, 2011
  2. Test case for 6558

    This was a bug in the fix for 3512, so I add it to the existing test case.
    dan-g committed Sep 1, 2011
  3. 6558 [CTFE] UTF-decoding foreach gives wrong index (1-indexed)

    Forward index is the index before decoding the character; reverse index is the
    index after decoding.
    dan-g committed Sep 1, 2011
Commits on Aug 31, 2011
  1. Merge pull request #353 from yebblies/issue3581

    Issue 3581 - "private" attribute breaks "override"
    WalterBright committed Aug 31, 2011
  2. Merge pull request #348 from 9rnsr/fix5953

    Issue 5953 - Too many trailing commas are accepted
    WalterBright committed Aug 31, 2011
Commits on Aug 30, 2011
  1. Merge pull request #355 from braddr/fix

    fix int vs size_t warnings
    WalterBright committed Aug 30, 2011
  2. fix int vs size_t warnings

    braddr committed Aug 30, 2011
Commits on Aug 29, 2011
  1. Merge pull request #316 from 9rnsr/fix6499

    The 2nd fix of issue 6499 - [GSoC] Destructor not called on object returned by method.
    WalterBright committed Aug 29, 2011
  2. fix build break

    WalterBright committed Aug 29, 2011
  3. Merge pull request #352 from yebblies/issue6389

    Issue 6389 - Segfault(dsymbol.c): deprecated @disable
    WalterBright committed Aug 29, 2011
  4. Merge pull request #350 from braddr/parse-fix

    add missing new function
    WalterBright committed Aug 29, 2011
  5. Issue 3581 - "private" attribute breaks "override"

    Don's patch can be merged now that dlang/phobos#137 has been fixed.
    Disable using `override` with non-virtual functions.
    yebblies committed Aug 29, 2011
  6. Issue 6389 - Segfault(dsymbol.c): deprecated @disable

    Use a new variable to iterate through scopes, avoids passing a null scope to the `@disable` check later in the function.
    yebblies committed Aug 29, 2011
Commits on Aug 28, 2011
  1. add missing new function

    braddr committed Aug 28, 2011
  2. Merge pull request #333 from dawgfoto/Bug6556

    Bug6556
    WalterBright committed Aug 28, 2011
  3. Merge pull request #343 from dawgfoto/Bug6563

    Bug6563
    WalterBright committed Aug 28, 2011