You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2017/04/07 13:31:00 UTC

[17/50] [abbrv] groovy git commit: GROOVY-8119: Groovy Language Specification documentation has bad internal links to "type checking section"

GROOVY-8119: Groovy Language Specification documentation has bad internal links to "type checking section"


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

Branch: refs/heads/parrot
Commit: 800205d432335024e72a5d11db3994d20ba044be
Parents: 64a7dda
Author: paulk <pa...@asert.com.au>
Authored: Tue Mar 14 21:05:52 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Tue Mar 14 21:05:52 2017 +1000

----------------------------------------------------------------------
 src/spec/doc/core-semantics.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/800205d4/src/spec/doc/core-semantics.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index cdbeace..68c9629 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -863,7 +863,7 @@ include::{projectdir}/src/spec/test/typing/OptionalTypingTest.groovy[tags=option
 <2> we can still call the `toUpperCase` method, because the type of `aString` is resolved at runtime
 
 So it doesn't matter that you use an explicit type here. It is in particular interesting when you combine this feature
-with <<typechecking,static type checking>>, because the type checker performs type inference.
+with <<static-type-checking,static type checking>>, because the type checker performs type inference.
 
 Likewise, Groovy doesn't make it mandatory to declare the types of a parameter in a method:
 
@@ -1989,7 +1989,7 @@ discussed in a link:core-domain-specific-languages.html#section-delegatesto[spec
 
 ==== Dynamic vs static
 
-In the <<typechecking,type checking section>>, we have seen that Groovy provides optional type checking thanks to the
+In the <<static-type-checking,type checking section>>, we have seen that Groovy provides optional type checking thanks to the
 `@TypeChecked` annotation. The type checker runs at compile time and performs a static analysis of dynamic code. The
 program will behave exactly the same whether type checking has been enabled or not. This means that the `@TypeChecked`
 annotation is neutral with regards to the semantics of a program. Even though it may be necessary to add type information