Make enumerators compatible with Dart 1 and Dart 2#1
Make enumerators compatible with Dart 1 and Dart 2#1Stargator wants to merge 3 commits intopolux:masterfrom
Conversation
|
I'm just going to add a try-catch, that will catch the error. I think the error is expected as part of the test. |
|
Hello, thanks a ton! When I check out d8c3f34 and run Which doesn't match the stack trace you've pasted earlier. Since then you've made some changes so maybe that's why I'm not seeing the same error. You mentioned you want to try-catch some error. Is it the one in your first comment or is it the one I'm seeing? Either way I don't think it is expected as part of the test. Or maybe you're talking about a third error? |
|
I just realized that your comment:
maybe refers to polux/propcheck#5 and that you probably mistakenly added it to this pull request instead. Is that the case? |
|
@polux I can confirm that I can reproduce that stacktrace. I'm using Dart 2.0.0-dev.68.0 on a High Sierra Mac. |
|
But I have a fix incoming for this case, not for the next issue |
|
The latest commit now has this error: |
|
I don't know how to resolve this issue between Enumeration and Enumeration. It seems to be thrown when the two are suppose to be joined |
|
Indeed, now that I've upgraded to 2.0.0-dev.68.0 I see the same error. I'll look into it. |
|
Ok, I was able to solve that particular problem by adding a type argument to I don't know if you'd like to give it a try or if you'd prefer me to merge your PR into a dart 2 branch and then iterate over that branch together. I don't have a lot of free time these days the second option might be slower depending on your speed. @spebbe mentioned he might be willing to help to. |
|
Sorry, I've lost them since I played around. It wasn't much, my comment pretty much describes all the changes I had made. |
No static analysis errors, but I am getting the following error when running the test/run.sh script.
Not sure how to resolve it. I'll look at it later, but any feedback would be appreciated.