Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 09288a749 -> c2790b4df


fix typo


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 6abaa158af14181f827ffabd51fa7d9ecdd7b40b
Parents: 09288a7
Author: Paul King <[email protected]>
Authored: Wed May 23 10:09:42 2018 +1000
Committer: Paul King <[email protected]>
Committed: Thu May 24 00:09:18 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/6abaa158/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]
 ----

Reply via email to