fix bug in type inferencing
This commit is contained in:
parent
bb6e742f5f
commit
c3f7cea310
8 changed files with 205 additions and 155 deletions
|
|
@ -51,8 +51,11 @@ export function ExprBlock(props: ExprBlockProps) {
|
|||
|
||||
return <span className={"editor" + ((resolved.kind!=="value") ? " "+resolved.kind : "")}>
|
||||
{renderBlock[props.state.kind]()}
|
||||
<div className="typeSignature">
|
||||
{/* @ts-ignore */}
|
||||
<div className={"typeSignature" + (resolved.__debug ? ' gotDebug' : '')}>
|
||||
:: <Type type={getType(resolved)} />
|
||||
{/* @ts-ignore */}
|
||||
{resolved.__debug && <div className="typeDebug">{resolved.__debug}</div>}
|
||||
</div>
|
||||
<Input
|
||||
placeholder="<c>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue