You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/09/06 08:54:50 UTC

incubator-groovy git commit: Added that static and instance methods same class (closes #114)

Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 65f6f2d96 -> ed7771b68


Added that static and instance methods same class (closes #114)


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/ed7771b6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/ed7771b6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/ed7771b6

Branch: refs/heads/GROOVY_2_4_X
Commit: ed7771b68f85ed7988a59b491d68fe7227166cbc
Parents: 65f6f2d
Author: Aseem Bansal <an...@users.noreply.github.com>
Authored: Sat Sep 5 12:33:47 2015 +0530
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sun Sep 6 08:54:14 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/core-metaprogramming.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/ed7771b6/src/spec/doc/core-metaprogramming.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-metaprogramming.adoc b/src/spec/doc/core-metaprogramming.adoc
index 30c0873..92e352e 100644
--- a/src/spec/doc/core-metaprogramming.adoc
+++ b/src/spec/doc/core-metaprogramming.adoc
@@ -645,7 +645,7 @@ include::{projectdir}/src/spec/test/ExtensionModuleSpecTest.groovy[tags=instance
 ==== Static methods
 
 It is also possible to add static methods to a class. In that case, the static method needs to be defined in its *own*
-file:
+file. Static and instance extension methods *cannot* be present in the same class.
 
 [source,groovy]
 .StaticStringExtension.groovy