Updated D TextMate bundle for D2 and TM2

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Apr 17 01:40:33 PDT 2015


On 2015-04-13 22:40, biozic wrote:

> For example:
> ---
> version (all)
> {
>      struct foo { int i; }
>
>      auto bar()
>      {
>          static if (true) {}
>          static assert(true);
>          return foo(1);
>      }
> }
> ---
>
> In the body of the bar function, `if`, `assert` and `foo` are parsed as
> a method definition and appear in the symbol tree.

I have fixed this issue now. It's currently in "master", it has not been 
pushed to users yet.

The issue was a silly mistake by me, I had forgot to add optional 
whitespace in the beginning of the rule matching static if/assert.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list