summaryrefslogtreecommitdiff
path: root/tools/Scanner/Generator.lean
diff options
context:
space:
mode:
authorHannes Schulze <contact@haschu.me>2026-04-10 12:34:02 +0200
committerHannes Schulze <contact@haschu.me>2026-04-10 12:34:02 +0200
commitbfe6c4cee8b5afcd4078af319ab6b96f6695408b (patch)
treef6721cd534619e0e1b6a96f2edaba455fcdc75f2 /tools/Scanner/Generator.lean
parent80317994ba8a8b7f72c0bf0d824e4ade59a4b6c8 (diff)
update lean
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}"