Skip to content

Commit

Permalink
Syntax deprecation for {1,2}
Browse files Browse the repository at this point in the history
  • Loading branch information
mbauman committed Apr 17, 2015
1 parent ef06211 commit 7ec9d4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/julia-parser.scm
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,9 @@
(begin (syntax-deprecation-warning s "{}" "[]")
'(cell1d))
(case (car vex)
((vect) `(cell1d ,@(cdr vex)))
((vect)
(syntax-deprecation-warning s "{a,b, ...}" "Any[a,b, ...]")
`(cell1d ,@(cdr vex)))
((comprehension)
(syntax-deprecation-warning s "{a for a in b}" "Any[a for a in b]")
`(typed_comprehension (top Any) ,@(cdr vex)))
Expand Down

0 comments on commit 7ec9d4b

Please sign in to comment.