Skip to content

Commit

Permalink
Fix isOverrideFunction description
Browse files Browse the repository at this point in the history
  • Loading branch information
Infiltrator committed Nov 7, 2013
1 parent 3492976 commit 5ed01d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions changelog.dd
Expand Up @@ -529,7 +529,7 @@ void main()
}
---------

$(LI $(LNAME2 isoverridefunction_trait, Introduced the $(D isOverrideFunction) trait which indicates if a function is overridden or not:))
$(LI $(LNAME2 isoverridefunction_trait, Introduced the $(D isOverrideFunction) trait which indicates whether or not a function is overriding:))

---
class Base
Expand All @@ -544,8 +544,8 @@ class Foo : Base
}

static assert (__traits(isOverrideFunction, Base.foo) == false);
static assert (__traits(isOverrideFunction, Foo.foo));
static assert (__traits(isOverrideFunction, Foo.bar) == false);
static assert (__traits(isOverrideFunction, Foo.foo) == true);
static assert (__traits(isOverrideFunction, Foo.bar) == false);
---
)

Expand Down

0 comments on commit 5ed01d0

Please sign in to comment.