Skip to content

Commit

Permalink
hanging dot fixed by new sweetjs; add new syntax error todo
Browse files Browse the repository at this point in the history
  • Loading branch information
longouyang committed Oct 18, 2016
1 parent 93be502 commit bcf4d9d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1718,6 +1718,11 @@ <h3>error handling</h3>
)
</code></pre>

syntax - unmatched open bracket, multiline (TODO):
<pre><code>flip(
0.5</code></pre>


syntax - assignment:
<pre><code>a = 9</code></pre>

Expand All @@ -1727,7 +1732,7 @@ <h3>error handling</h3>
syntax - trying to assign to non-globalStore field:
<pre><code>a.b = 9</code></pre>

syntax - hanging dot (TODO):
syntax - hanging dot:
<pre><code>globalStore.</code></pre>

tricky reference error:
Expand Down

0 comments on commit bcf4d9d

Please sign in to comment.