From 5ed01d0d99a5d9ff3cfd970c81bb3ea37d52a0a4 Mon Sep 17 00:00:00 2001 From: Infiltrator Date: Thu, 7 Nov 2013 11:49:07 +1100 Subject: [PATCH] Fix isOverrideFunction description --- changelog.dd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/changelog.dd b/changelog.dd index d56e154195..5762859d77 100644 --- a/changelog.dd +++ b/changelog.dd @@ -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 @@ -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); --- )