[dylan-lang/opendylan] 3c7aaa: [dfmc] Tighten up type on parameters-dynamic-exten...
GitHub <[email protected]>
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <556e991adbc52_2de13fc8f086f29c9380@hookshot-fe5-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/opendylan
Commit: 3c7aaab605dff0e16fba17135e870ab4709d70c4
https://github.com/dylan-lang/opendylan/commit/3c7aaab605dff0e16fba17135e870ab4709d70c4
Author: Bruce Mitchener <[email protected]>
Date: 2015-06-03 (Wed, 03 Jun 2015)
Changed paths:
M sources/dfmc/modeling/functions.dylan
M sources/dfmc/modeling/modeling-library.dylan
M sources/dfmc/optimization/dynamic-extent.dylan
M sources/lib/walker/copier.dylan
Log Message:
-----------
[dfmc] Tighten up type on parameters-dynamic-extent
* sources/dfmc/modeling/functions.dylan
(constant <dynamic-extent>): Move definition here from dfmc-optimization.
(&class <generic-function>): Tighten parameters-dynamic-extent slot type.
(&class <lambda>): Tighten parameters-dynamic-extent slot type.
(parameters-dynamic-extent on <&getter-method>): Tighten.
(parameters-dynamic-extent on <&setter-method>): Tighten.
(parameters-dynamic-extent on <&repeated-getter-method>): Tighten.
(parameters-dynamic-extent on <&repeated-setter-method>): Tighten.
* sources/dfmc/modeling/modeling-library.dylan
(module dfmc-modeling): Export <dynamic-extent>.
* sources/dfmc/optimization/dynamic-extent.dylan
(constant <dynamic-extent>): Remove as this moved to dfmc-modeling.
(constant $none-with-dynamic-extent): New constant to use for functions
where no parameters have dynamic extent.
(compute-dynamic-extent-of-lambda-parameters): Update for tightened types.
(get-extent-of-parameters-in-call): Update for tightened types.
* sources/lib/walker/copier.dylan
(do-deep-copy on limited(<vector>, of: <integer>)): New copier. This is
needed as the parameters-dynamic-extent gets copied during DFM copying
and it needs a new specialization to handle this new type being copied.
Commit: f3899e46998d255cf29d820285116dc458f60800
https://github.com/dylan-lang/opendylan/commit/f3899e46998d255cf29d820285116dc458f60800
Author: Peter S. Housel <[email protected]>
Date: 2015-06-02 (Tue, 02 Jun 2015)
Changed paths:
M sources/dfmc/modeling/functions.dylan
M sources/dfmc/modeling/modeling-library.dylan
M sources/dfmc/optimization/dynamic-extent.dylan
M sources/lib/walker/copier.dylan
Log Message:
-----------
Merge pull request #918 from waywardmonkeys/stricter-type-for-parameters-dynamic-extent
[dfmc] Tighten up type on parameters-dynamic-extent
Compare: https://github.com/dylan-lang/opendylan/compare/84c9e85b90df...f3899e46998d
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter