Skip to content

Use getPosition method to get an offset position instead of using a line number#2201

Merged
eed3si9n merged 1 commit intosbt:0.13from
fkorotkov:javac-line-content-fixes
Sep 11, 2015
Merged

Use getPosition method to get an offset position instead of using a line number#2201
eed3si9n merged 1 commit intosbt:0.13from
fkorotkov:javac-line-content-fixes

Conversation

@fkorotkov
Copy link

While testing changes from #2108 it appeared that getLine method takes an absolute offset instead of a line number. Thankfully there is getPosition method to get a position of a report.

@eed3si9n eed3si9n added the ready label Sep 10, 2015
@typesafe-tools
Copy link

Can one of the admins verify this patch?

@eed3si9n
Copy link
Member

Could you also send the same pull request to https://github.com/sbt/incrementalcompiler please?

@fkorotkov
Copy link
Author

@eed3si9n done: sbt/zinc#11

@eed3si9n
Copy link
Member

LGTM pending Travis.

@fkorotkov
Copy link
Author

Travis is green

eed3si9n added a commit that referenced this pull request Sep 11, 2015
Use getPosition method to get an offset position instead of using a line number
@eed3si9n eed3si9n merged commit d4f7977 into sbt:0.13 Sep 11, 2015
@eed3si9n eed3si9n removed the ready label Sep 11, 2015
@fkorotkov
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants