From b0c376d2a7ded722cd49f88e515c53632ec75730 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 28 May 2014 16:11:01 -0400 Subject: Typographic fixes around double quotes. --- wiki/java/kwargs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wiki/java/kwargs.md') diff --git a/wiki/java/kwargs.md b/wiki/java/kwargs.md index bd78d85..d745010 100644 --- a/wiki/java/kwargs.md +++ b/wiki/java/kwargs.md @@ -123,7 +123,7 @@ Possibilities for syntax: * `foo(x := 5, y := 8, z := 2)` - `:=` is never a legal sequence of tokens in Java. Introduces one new operator-like construct; the new sequence `:=` - "looks like" assignment, which is a useful mnemonic. + “looks like” assignment, which is a useful mnemonic. * `foo(x ~ 5, y ~ 8, z ~ 2)` - `~` is not a binary operator and this is never legal right now. This avoids introducing new operators, but adds a novel @@ -133,7 +133,7 @@ Possibilities for syntax: * `foo(.x = 5, .y = 8, .z = 2)` - using `=` as the keyword binding feels more natural. Parameter names must be legal identifiers, which means the leading dot is unambiguous. This syntax is not legal anywhere right now (the dot - always has a leading expression). The dot is a "namespace" symbol already. + always has a leading expression). The dot is a “namespace” symbol already. To support this, the class file format will need to record the names of parameters, not just their order. This is a breaking change, and generated @@ -149,4 +149,4 @@ from debug information, where present.) * Inheritance. It is legal for a superclass to define `foo(a, b)` and for subclasses to override it as `foo(x, y)`. Which argument names do you use when? -* Varargs. \ No newline at end of file +* Varargs. -- cgit v1.2.3