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 2018/05/23 14:37:55 UTC

[2/5] groovy git commit: fix typo

fix typo


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

Branch: refs/heads/master
Commit: 1936f1844e952a08eb8eacdb6eebb0233f4eed44
Parents: 5eab4a5
Author: Paul King <pa...@asert.com.au>
Authored: Wed May 23 10:09:42 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Thu May 24 00:08:24 2018 +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/1936f184/src/spec/doc/core-semantics.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-semantics.adoc b/src/spec/doc/core-semantics.adoc
index 37f5b42..5fe3f5d 100644
--- a/src/spec/doc/core-semantics.adoc
+++ b/src/spec/doc/core-semantics.adoc
@@ -1591,8 +1591,8 @@ The type checker will now fail at compile time, because it knows that `o` is a `
 so it's a type error.
 
 It is important to understand that it is not the fact of declaring a variable with `def` that triggers type inference.
-Flow typing works for *any* variable of any type. Declaring a variable with an explicit type only constraints what you
-can assign to a variable:
+Flow typing works for *any* variable of any type. Declaring a variable with an explicit type only constrains what you
+can assign to the variable:
 
 [source,groovy]
 ----