Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

ROS: Don't skip blocks passed end#28261

Closed
benaadams wants to merge 1 commit into
dotnet:masterfrom
benaadams:ROS--Don't-skip-blocks-passed-end
Closed

ROS: Don't skip blocks passed end#28261
benaadams wants to merge 1 commit into
dotnet:masterfrom
benaadams:ROS--Don't-skip-blocks-passed-end

Conversation

@benaadams
Copy link
Copy Markdown
Member


// Go out of bounds for segment
Assert.Throws<ArgumentOutOfRangeException>(() => c1 = buffer.GetPosition(150, buffer.Start));
Assert.Throws<ArgumentOutOfRangeException>(() => c1 = buffer.GetPosition(250, buffer.Start));
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These asserts currently work; just adding for completeness


// Go out of bounds for segment
Assert.Throws<ArgumentOutOfRangeException>(() => c1 = buffer.GetPosition(150, buffer.Start));
Assert.Throws<ArgumentOutOfRangeException>(() => c1 = buffer.GetPosition(250, buffer.Start));
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These asserts are where it currently breaks as it skips the blocks without checking if its already hit the end

@davidfowl
Copy link
Copy Markdown
Member

@Petermarcu @karelz @joshfree We want this in preview2, do we need to change the branch?

@benaadams
Copy link
Copy Markdown
Member Author

We want this in preview2, do we need to change the branch?

Added a 2.1 branch version #28262; though I don't know correct process

@joshfree
Copy link
Copy Markdown
Member

@Petermarcu @karelz @joshfree We want this in preview2, do we need to change the branch?

Getting this into master is still fine for preview2 at this point, I believe. There should be another mop up integration to the release branch after the bug bounce.

@leecow it would be great to publish the schedule soon 😄

@leecow
Copy link
Copy Markdown
Member

leecow commented Mar 20, 2018

@joshfree - it's coming any minute now :-P

@benaadams
Copy link
Copy Markdown
Member Author

Alpine and OSX are

TypeError: cannot concatenate 'str' and 'type' objects

Which is a buildtools issue?

@ahsonkhan
Copy link
Copy Markdown

Which is a buildtools issue?

Yes, @Anipik fixed the issue in dotnet/buildtools#1969.

@ahsonkhan
Copy link
Copy Markdown

@dotnet-bot test Alpine.3.6 x64 Debug Build
@dotnet-bot test OSX x64 Debug Build

@benaadams
Copy link
Copy Markdown
Member Author

This PR is be superseded by #28294; is that correct @ahsonkhan ?

@benaadams benaadams closed this Mar 21, 2018
@karelz karelz added this to the 2.1.0 milestone Mar 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants