-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add migration rewrite deprecated assignment syntax
[Cherry-picked 24c3e7f]
- Loading branch information
1 parent
4d0dee7
commit 1298d1f
Showing
9 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import scala.language.experimental.namedTuples | ||
|
||
object i21770: | ||
def f(g: Int => Unit) = g(0) | ||
var cache: Option[Int] = None | ||
f(i => {cache = Some(i)}) | ||
|
||
object i21861: | ||
var age: Int = 28 | ||
{ | ||
age = 29 | ||
} | ||
|
||
|
||
object i21861c: | ||
def age: Int = ??? | ||
def age_=(x: Int): Unit = () | ||
age = 29 | ||
{ age = 29 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import scala.language.experimental.namedTuples | ||
|
||
object i21770: | ||
def f(g: Int => Unit) = g(0) | ||
var cache: Option[Int] = None | ||
f(i => (cache = Some(i))) | ||
|
||
object i21861: | ||
var age: Int = 28 | ||
( | ||
age = 29 | ||
) | ||
|
||
|
||
object i21861c: | ||
def age: Int = ??? | ||
def age_=(x: Int): Unit = () | ||
age = 29 | ||
( age = 29 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters