diff options
| author | Owen Jacobson <owen.jacobson@grimoire.ca> | 2014-05-28 16:11:01 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen.jacobson@grimoire.ca> | 2014-05-28 16:11:01 -0400 |
| commit | b0c376d2a7ded722cd49f88e515c53632ec75730 (patch) | |
| tree | de354549a8285063f482975bf44db7ba97f47c29 /wiki/java/kwargs.md | |
| parent | 693eec80b65299ff679a458bb7039d656ece550f (diff) | |
Typographic fixes around double quotes.
Diffstat (limited to 'wiki/java/kwargs.md')
| -rw-r--r-- | wiki/java/kwargs.md | 6 |
1 files changed, 3 insertions, 3 deletions
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. |
