You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, tests are on the top-level. This means their names can conflict with student names. For example, the student can't name anything cases since that's the name used to list the test cases.
We could move the tests inside a class or object.
This would require making the test functions shared (ahhh, that's the situation where they have to be shared, I was wondering in #14) - confirm that if moving them to a test class/object.
Currently there is an obstacle: ceylon.language.meta.model.TypeApplicationException "Cannot apply a member declaration with no container type: use memberApply" on an attempt to use parameters on a member. Apparently a fix is planned for 1.3.21.3.3 1.4.0 (See eclipse-archived/ceylon-sdk#635), so we may have to wait until then.
Thus, I believe this issue is unactionable as of Ceylon 1.3.3 (please notify in this issue if a newer Ceylon version comes out), but if there are alternative ways of solving this problem please say the word.
The text was updated successfully, but these errors were encountered:
Another possible option that may work today: Put the tests in a separate package. I'm a little reluctant to add another package for each exercise just for this, though.
Currently, tests are on the top-level. This means their names can conflict with student names. For example, the student can't name anything
cases
since that's the name used to list the test cases.We could move the tests inside a class or object.
This would require making the test functions shared (ahhh, that's the situation where they have to be shared, I was wondering in #14) - confirm that if moving them to a test class/object.
Currently there is an obstacle:
ceylon.language.meta.model.TypeApplicationException "Cannot apply a member declaration with no container type: use memberApply"
on an attempt to useparameters
on a member. Apparently a fix is planned for1.3.21.3.31.4.0 (See eclipse-archived/ceylon-sdk#635), so we may have to wait until then.Thus, I believe this issue is unactionable as of Ceylon 1.3.3 (please notify in this issue if a newer Ceylon version comes out), but if there are alternative ways of solving this problem please say the word.
The text was updated successfully, but these errors were encountered: