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 ddd40a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class CSharpAsyncCompiler(val typeProvider: ClassTypeProvider, config: RuntimeCo
}
s", $parent, ${privateMemberName(RootIdentifier)}$addEndian"
}
s"await (new ${types2class(t.name)}($addParams$io$addArgs)).ReadAsync()"
s"await (new ${types2class(t.name)}(this, $addParams$io$addArgs)).ReadAsync()"
}
}

Expand Down

0 comments on commit ddd40a3

Please sign in to comment.