Commit cc74158d authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #525 from thomaslee/master

Fix minor typo: varibale -> variable
parents c639bda1 f40c4c61
...@@ -1069,7 +1069,7 @@ kj::String NodeTranslator::BrandedDecl::toString() { ...@@ -1069,7 +1069,7 @@ kj::String NodeTranslator::BrandedDecl::toString() {
kj::String NodeTranslator::BrandedDecl::toDebugString() { kj::String NodeTranslator::BrandedDecl::toDebugString() {
if (body.is<Resolver::ResolvedParameter>()) { if (body.is<Resolver::ResolvedParameter>()) {
auto variable = body.get<Resolver::ResolvedParameter>(); auto variable = body.get<Resolver::ResolvedParameter>();
return kj::str("varibale(", variable.id, ", ", variable.index, ")"); return kj::str("variable(", variable.id, ", ", variable.index, ")");
} else { } else {
auto decl = body.get<Resolver::ResolvedDecl>(); auto decl = body.get<Resolver::ResolvedDecl>();
return kj::str("decl(", decl.id, ", ", (uint)decl.kind, "')"); return kj::str("decl(", decl.id, ", ", (uint)decl.kind, "')");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment