commit | 7ee4ebe665c386acdc40c2abd89665f781ea2b03 | [log] [tgz] |
---|---|---|
author | Johan Compagner <jcompagner@gmail.com> | Fri Feb 21 16:50:21 2014 +0100 |
committer | Johan Compagner <jcompagner@gmail.com> | Fri Feb 21 16:51:07 2014 +0100 |
tree | eb3251e4f2d8680255f775c1c42ccb5042930263 | |
parent | 72bf188342a06d4c96a4b4a1be37bcd3f1ede6dc [diff] |
typeOf should always just return a union type if there are more types. (just like getDeclaredTypes() call just above will do) if 2 methods are found then try to map on the best one and return that value (so that no union type is created for that if we know which method wil be called)