diff --git a/codon/parser/ast/expr.h b/codon/parser/ast/expr.h index cd2df108..e1c3be71 100644 --- a/codon/parser/ast/expr.h +++ b/codon/parser/ast/expr.h @@ -173,8 +173,7 @@ struct BoolExpr : public Expr { /// @li 13u /// @li 000_010b struct IntExpr : public Expr { - /// Expression value is stored as a string that is parsed during the simplify - /// stage. + /// Expression value is stored as a string that is parsed during the simplify stage. std::string value; /// Number suffix (e.g. "u" for "123u"). std::string suffix; @@ -197,8 +196,7 @@ struct IntExpr : public Expr { /// @li 13.15z /// @li e-12 struct FloatExpr : public Expr { - /// Expression value is stored as a string that is parsed during the simplify - /// stage. + /// Expression value is stored as a string that is parsed during the simplify stage. std::string value; /// Number suffix (e.g. "u" for "123u"). std::string suffix; diff --git a/codon/parser/visitors/typecheck/typecheck_ctx.cpp b/codon/parser/visitors/typecheck/typecheck_ctx.cpp index a6ae95fe..a00fc299 100644 --- a/codon/parser/visitors/typecheck/typecheck_ctx.cpp +++ b/codon/parser/visitors/typecheck/typecheck_ctx.cpp @@ -316,7 +316,7 @@ int TypeContext::reorderNamedArgs(types::FuncType *func, "bad 'known' string"); std::vector extra; std::map namedArgs, - extraNamedArgs; // keep the std::map--- we need it sorted! + extraNamedArgs; // keep the map--- we need it sorted! for (int ai = 0, si = 0; ai < args.size() - partial; ai++) { if (args[ai].name.empty()) { while (!known.empty() && si < slots.size() && known[si])