Skip to content

Commit

Permalink
Add parent type reference to opaque types.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskal committed Jul 3, 2020
1 parent 4b2946b commit 75c554a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class CSharpAsyncCompiler(val typeProvider: ClassTypeProvider, config: RuntimeCo
case t: UserType =>
val addParams = Utils.join(t.args.map((a) => translator.translate(a)), "", ", ", ", ")
val addArgs = if (t.isOpaque) {
""
"this"
} else {
val parent = t.forcedParent match {
case Some(USER_TYPE_NO_PARENT) => "null"
Expand Down

0 comments on commit 75c554a

Please sign in to comment.