Skip to content

Commit 868c909

Browse files
Fix 1 occurrence of inline-unnecessary-define
This variable is returned immediately and can be inlined.
1 parent 47eefa5 commit 868c909

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

typed-racket-lib/typed-racket/private/parse-type.rkt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,12 +1654,12 @@
16541654
;; of init arguments.
16551655
(define parent-inits (get-parent-inits parent/init-type))
16561656

1657-
(define class-type
1658-
(make-Class row-var
1659-
(append given-inits parent-inits)
1660-
fields methods augments given-init-rest))
1661-
1662-
class-type]
1657+
(make-Class row-var
1658+
(append given-inits parent-inits)
1659+
fields
1660+
methods
1661+
augments
1662+
given-init-rest)]
16631663
[else
16641664
;; Conservatively assume that if there *are* #:implements
16651665
;; clauses, then the current type alias will be recursive

0 commit comments

Comments
 (0)