Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X f4301ad11 -> 8cb07af31


fix typo


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

Branch: refs/heads/GROOVY_2_5_X
Commit: c1016f394a26f9344b636ba65b559411a72faa7a
Parents: f4301ad
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:49 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/c1016f39/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