Skip to content

Commit

Permalink
Revert "reserve syntax that could be used for computed field types (#…
Browse files Browse the repository at this point in the history
…18466) (#26816)" (#26857)

This reverts commit a6f6b5b.
  • Loading branch information
JeffBezanson committed Apr 20, 2018
1 parent 5912b14 commit 153e72d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/julia-syntax.scm
Original file line number Diff line number Diff line change
Expand Up @@ -862,16 +862,6 @@
(if (not (symbol? v))
(error (string "field name \"" (deparse v) "\" is not a symbol"))))
field-names)
(for-each (lambda (t)
(if (expr-contains-p (lambda (e)
(and (pair? e) (eq? (car e) 'call)
(expr-contains-p (lambda (a) (memq a params))
e)))
t)
(error (string "unsupported field type expression \""
(deparse t)
"\""))))
field-types)
`(block
(scope-block
(block
Expand Down

0 comments on commit 153e72d

Please sign in to comment.