fix trait bug found by Ryan
svn: r6653
This commit is contained in:
parent
88683ccc37
commit
2385d8bd93
|
@ -12,6 +12,7 @@
|
|||
generate-class-expand-context))
|
||||
|
||||
(provide (rename :trait trait)
|
||||
trait?
|
||||
trait->mixin
|
||||
trait-sum
|
||||
trait-exclude trait-exclude-field
|
||||
|
@ -65,7 +66,7 @@
|
|||
(augride)
|
||||
(overment)
|
||||
(inherit) (inherit/super) (inherit/inner)
|
||||
(inherit-fields)))))]
|
||||
(inherit-field)))))]
|
||||
[(fields)
|
||||
(extract-fields expanded-clauses)])
|
||||
;; Every declaration implies direct use for other declarations:
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
(trait (field [x 'x]))
|
||||
(trait (field [x 'y]))))
|
||||
|
||||
(test #t trait? (trait
|
||||
(inherit-field f)))
|
||||
|
||||
;; ----------------------------------------
|
||||
;; internal and external names
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user