Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

doc

  • Loading branch information...
commit 9909d42d2633a5b42ce171d2f189d1319dc68a16 1 parent f9300f3
@maxtaco authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 iced.md
View
11 iced.md
@@ -377,7 +377,7 @@ file `nodes.coffee`.
The following do not work and will generate syntax errors at compile time:
```coffeescript
-x = (await foo defer x)
+y = (await foo defer x)
```
```coffeescript
@@ -394,11 +394,12 @@ my_func 10, (
)
```
-That is, you can't treat `await` statements, or any blocks that
-contain `await` statements, as expressions. Previous versions of
+That is, you can't treat `await` statements as expressions.
+And recursively speaking, you can't treat any blocks that
+contain `await` statements as expressions. Previous versions of
IcedCoffeeScript supported this arcane feature, but it was extremely
-difficult to implement properly, and also difficult to use correctly.
-
+difficult to implement properly, and unnecessarily obscured the
+control flow of iced programs.
## Translation Technique
Please sign in to comment.
Something went wrong with that request. Please try again.