aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2017-07-29 11:17:36 -0400
committerEduardo Julian2017-07-29 11:17:36 -0400
commite578df2b0b6d4fd751b8656c16efee54363fc121 (patch)
treef5111af5f89fd32628660d6be789955884ebf547
parent909bc37ba2b96f12eb1eeb0ebed87994a46beb43 (diff)
- Fuxed a bug when generating module code, where the type-vars were not getting included in the synthesized #;Host type.
-rw-r--r--stdlib/source/lux/type/model.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/type/model.lux b/stdlib/source/lux/type/model.lux
index c4e9873d3..58b6d2fee 100644
--- a/stdlib/source/lux/type/model.lux
+++ b/stdlib/source/lux/type/model.lux
@@ -156,7 +156,7 @@
representation-declaration (` ((~ hidden-name) (~@ type-varsC)))]
(wrap (list& (` (type: (~@ (csw;export export)) (~ model-declaration)
(~ (csw;annotations annotations))
- (host (~ hidden-name))))
+ (host (~ hidden-name) [(~@ type-varsC)])))
(` (type: (~@ (csw;export export)) (~ representation-declaration)
(~ representation-type)))
(` (install-casts (~ (code;local-symbol name)) [(~@ type-varsC)]))