|
|
|
[
Permlink
| « Hide
]
Avishay Lavie - 28/Feb/07 12:24 AM
Scheduled for 0.7.7. We may not support defining new generic types, but we should at the very least be able to consume all forms of generics, including generic methods.
Attached patch (
I can't commit this cause way too many unit tests are failing; however they all fail on a clean checkout as well, so one can never know. Please, kind people, take this patch and treat it with warmth and kindness. Test it on thy windows boxen and if found worthy, tell me and I'll commit it (or you can commit yourself, whatever). Added second patch, since first one seems corrupted.
Had considerable difficulty applying the patch (both have the same problem):
This may be a TortoiseSVN bug, it looks to my untrained eye at least that your patches are valid. OK, I've run the test suite over a copy of revision 2444 with this patch, and I get exactly two failures, both in BooCompiler.Tests:
1) BooCompiler.Tests.LocalizationTestCase.TestPtBrCulture : 2) BooCompiler.Tests.RegressionTestFixture.BOO_748_1 : E:\Programming\Checkouts\ I don't know what is causing the first, but the second one could be because 748_1 does not define an expectation in a """blah""" block at the top of the file. At least, every other regression test I've looked at has one of these. OK, maybe not
Fixed in revision 2446.
Type inference for generic methods (BOO-814) is not yet implemented, however. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||