commit | 52c1d36280ad1e119cbc6e79079524f4df9017aa | [log] [tgz] |
---|---|---|
author | Johan Compagner <jcompagner@gmail.com> | Mon Oct 28 17:30:15 2013 +0100 |
committer | Johan Compagner <jcompagner@gmail.com> | Mon Oct 28 17:31:23 2013 +0100 |
tree | 108d93e5fd813cbebd19c39503674bba540adbca | |
parent | 8eea2c824a70925b139c6261a4e17049e639905f [diff] |
union fixes with assignableForm/instanceof literal arrays that are mixed are now created as a Union type. so that you can call a function with a param Array<String|Number> with ["string",1] added test for various union in union calls Number|String will fit in Number|String|Date but not visa versa of just a String will fit in a Number|String but not visa versa