Skip to content

Commit c901ca7

Browse files
committed
bugfix: Fix one invocation after conflicts in a PR
1 parent 852f99c commit c901ca7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ jobs:
773773
WORKFLOW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
774774
with:
775775
filename: .github/workflows/issue_nightly_failed.md
776-
776+
build-sdk-package:
777777
uses: ./.github/workflows/build-sdk.yml
778778
if:
779779
(github.event_name == 'pull_request' && !contains(github.event.pull_request.body, '[skip ci]')) ||

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2501,8 +2501,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
25012501
case rhs => typedExpr(rhs, tpt1.tpe.widenExpr)
25022502
}
25032503
val vdef1 = assignType(cpy.ValDef(vdef)(name, tpt1, rhs1), sym)
2504-
postProcessInfo(sym)
2505-
vdef1.setDefTree
2504+
postProcessInfo(vdef1, sym)
25062505
}
25072506

25082507
private def retractDefDef(sym: Symbol)(using Context): Tree =

0 commit comments

Comments
 (0)