Skip to content

Commit

Permalink
more progress on wasm gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Nov 9, 2023
1 parent e27aa8c commit dc75078
Show file tree
Hide file tree
Showing 4 changed files with 228 additions and 54 deletions.
2 changes: 1 addition & 1 deletion src/ast/base_language.nim
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ typeComputers[printExpressionClass.id] = proc(ctx: ModelComputationContextBase,

typeComputers[buildExpressionClass.id] = proc(ctx: ModelComputationContextBase, node: AstNode): AstNode =
debugf"compute type for build {node}"
return voidTypeInstance
return stringTypeInstance

let baseLanguage* = newLanguage(IdBaseLanguage, @[
namedInterface, declarationInterface,
Expand Down
Loading

0 comments on commit dc75078

Please sign in to comment.