8000 IR checker cleanups by gzm0 · Pull Request #4494 · scala-js/scala-js · GitHub
[go: up one dir, main page]

Skip to content

IR checker cleanups #4494

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

Merged
merged 2 commits into from
May 31, 2021
Merged
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
Remove unused ErrorContext parameter
  • Loading branch information
gzm0 committed May 30, 2021
commit 0419aa3911bca86227f7fbef4635ee650ecc9503
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ private final class IRChecker(unit: LinkingUnit, logger: Logger) {
def withThis(thisTpe: Type): Env =
new Env(thisTpe, this.locals, this.returnTypes, this.inConstructorOf)

def withLocal(localDef: LocalDef)(implicit ctx: ErrorContext): Env = {
def withLocal(localDef: LocalDef): Env = {
new Env(thisTpe, locals + (localDef.name -> localDef), returnTypes,
this.inConstructorOf)
}
Expand Down
0