8000 Fix #4037: Format sources with scalafmt by MaximeKjaer · Pull Request #4260 · scala-js/scala-js · GitHub
[go: up one dir, main page]

Skip to content

Fix #4037: Format sources with scalafmt #4260

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix invalid Scaladoc comment
  • Loading branch information
MaximeKjaer committed Nov 3, 2020
commit 09ea06593242ae3c7b9294fd8004ab0441021784
9 changes: 6 additions & 3 deletions ir/src/main/scala/org/scalajs/ir/Position.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@

package org.scalajs.ir

/** Represents a character position in a source file
*
* @param source Source file
* @param line Zero-based line number
* @param column Zero-based column number
*/
final case class Position(
/** Source file. */
source: Position.SourceFile,
/** Zero-based line number. */
line: Int,
/** Zero-based column number. */
column: Int
) {
def show: String = s"$line:$column"
Expand Down
0