Skip to content

Commit 0b57422

Browse files
committed
Revert "reserve syntax that could be used for computed field types (#18466) (#26816)"
This reverts commit a6f6b5b.
1 parent 5179455 commit 0b57422

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/julia-syntax.scm

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -862,16 +862,6 @@
862862
(if (not (symbol? v))
863863
(error (string "field name \"" (deparse v) "\" is not a symbol"))))
864864
field-names)
865-
(for-each (lambda (t)
866-
(if (expr-contains-p (lambda (e)
867-
(and (pair? e) (eq? (car e) 'call)
868-
(expr-contains-p (lambda (a) (memq a params))
869-
e)))
870-
t)
871-
(error (string "unsupported field type expression \""
872-
(deparse t)
873-
"\""))))
874-
field-types)
875865
`(block
876866
(scope-block
877867
(block

0 commit comments

Comments
 (0)