On Saturday, 26 April 2014 at 07:51:45 UTC, Jacob Carlborg wrote:
On Friday, 25 April 2014 at 08:45:20 UTC, Atila Neves wrote:

After I read the above I wasn't even sure how @Given("foo") would work so I wrote some code and now know that all I need is a struct with a regular string field. I think the documenation on http://dlang.org/attribute.html is severely lacking.

What do you mean, it's right there, at the bottom of the first example [1]:

@Bar(3) int d;

[1] http://dlang.org/attribute.html#UserDefinedAttribute

/Jacob Carlborg

Oh. Oops.


Reply via email to