summaryrefslogtreecommitdiff
path: root/tools/Scanner/Generator.lean
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Scanner/Generator.lean')
-rw-r--r--tools/Scanner/Generator.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Scanner/Generator.lean b/tools/Scanner/Generator.lean
index 36c1212..dc4a87f 100644
--- a/tools/Scanner/Generator.lean
+++ b/tools/Scanner/Generator.lean
@@ -289,7 +289,7 @@ private def emitRequests (protocol : ProtocolDesc) : Generator Unit := do
emitLine s!" ArgumentMarshaller.marshalAnyObject .none"
| .newID .none =>
emitLine s!" ArgumentMarshaller.marshalString (.some ι)"
- emitLine s!" ArgumentMarshaller.marshalUInt (inferInstanceAs (Interface ι)).version"
+ emitLine s!" ArgumentMarshaller.marshalUInt (inferInstance : Interface ι).version"
emitLine s!" ArgumentMarshaller.marshalAnyObject .none"
| _ =>
emitLine s!" Marshallable.marshal {marshalType arg.type} {arg.name.camelCase}"