We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb69a5 commit b777ba5Copy full SHA for b777ba5
kmir/src/kmir/kdist/mir-semantics/kmir.md
@@ -140,7 +140,7 @@ The function _names_ and _ids_ are not relevant for calls and therefore dropped.
140
#accumFunctions(#mainIsMinusOne(Items), #accumItems(.Map, Items), Functions)
141
//////////////////// ^^^^^^^^^^^^^^^^^^^^^^ HACK Adds "main" as function with ty(-1)
142
syntax Map ::= #mainIsMinusOne(MonoItems) [function]
143
- rule #mainIsMinusOne(ITEMS) => ty(-1) |-> #findItem(ITEMS, symbol("main"))
+ rule #mainIsMinusOne(ITEMS) => ty(-1) |-> monoItemKind(#findItem(ITEMS, symbol("main")))
144
////////////////////////////////////////////////////////////////
145
146
// accumulate map of symbol_name -> function (MonoItemFn), discarding duplicate IDs
0 commit comments