Fixes for compatibility with v0.7.0-alpha.0 #133
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR brings compatibility with v0.7.0-alpha.0 while also maintaining compatibility with v0.6. Most of the changes are simple deprecation fixes.
A few points to note:
x[1:3]
) I've added:(:)
to the MATLAB infix operators. As such,mstatement
doesn't produce such nice output as before but it works without special casing. (For examplemstatement(:(x[1:3])) == "x((1) : (3))"
rather than"x(1:3)"
as before.)mat"$(x[1:3]) = 3"
); in this case v0.7 requires that a broadcasted assignment is used explicitly.Tests pass (on my machine at least) with v0.6.2 and v0.7.0-alpha.0.