Skip to content

Commit

Permalink
Revert "turn on deprecation warnings for type and immutable"
Browse files Browse the repository at this point in the history
This partially reverts commit 9a8adb5.
  • Loading branch information
yuyichao committed Oct 25, 2017
1 parent 3b94a9e commit 4d1ebe3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/julia-parser.scm
Original file line number Diff line number Diff line change
Expand Up @@ -1457,10 +1457,11 @@
(expect-end (take-lineendings s) "primitive type"))))))
;; deprecated type keywords
((type)
(syntax-deprecation s "type" "mutable struct") ;; retain in 0.7
;; TODO fully deprecate post-0.6
;;(syntax-deprecation s "type" "mutable struct")
(parse-struct-def s #t word))
((immutable)
(syntax-deprecation s "immutable" "struct") ;; retain in 0.7
;;(syntax-deprecation s "immutable" "struct")
(parse-struct-def s #f word))
((bitstype)
(let* ((nb (with-space-sensitive (parse-cond s)))
Expand Down

0 comments on commit 4d1ebe3

Please sign in to comment.