-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile errors when using structs? #6
Comments
Yeah... This is due to the |
This should close issue #6 and it bumps version to 0.0.5. I'm waiting for @pataroose'ś feedback before closing it. We should add better tests for struct and class instances usage.
Okay... This should be fixed in 0.0.5. I still have a lot of fixes, improvements and features to add before this becomes as useful as I want. Thanks a lot for reporting and I'm sorry I didn't answer you yesterday! |
I'm leaving it for you to close this. |
Regardless of it being a work in progress, it's been very useful to me thus far, so thanks for writing it (and, more specifically, getting this fixed). |
I'm not quite sure why these are happening, but I think it's because I'm checking to see if two struct types are equal.
properties[0].should.equal(Property("test1", "test2"));
spawns:
Error: expression this.value of type Property does not have a boolean value ...dub\packages\pyjamas-0.0.4\source\pyjamas.d(8): Error: template instance pyjamas.Assertion!(Property) error instantiating source\reader.d(38): instantiated from here: should!(Property)
This didn't happen before I upgraded, so I'm assuming the bug was introduced recently.
The text was updated successfully, but these errors were encountered: