Skip to content

Commit fbafbff

Browse files
committed
small updates in ast
1 parent e7a34f1 commit fbafbff

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
commit e7a34f1b7382083c80d412f9526c1f4ff5fbc4f9
2+
Author: Alexeev Bronislav <alexeev.dev@mail.ru>
3+
Date: Fri Aug 8 12:14:18 2025 +0700
4+
5+
update readme
6+
17
commit b15f4ca22303d51ea1dbbe2fb7c557090a56903d
28
Author: Alexeev Bronislav <alexeev.dev@mail.ru>
39
Date: Fri Aug 8 01:23:23 2025 +0700

source/ast/ast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ namespace sleaf {
105105
visitor.visit(*this);
106106
}
107107

108-
TokenType BinaryExpr::get_type() const {
108+
auto BinaryExpr::get_type() const -> TokenType {
109109
// Type propagation rules
110110
if (left->get_type() == TokenType::F32 || right->get_type() == TokenType::F32
111111
|| left->get_type() == TokenType::F64 || right->get_type() == TokenType::F64)

0 commit comments

Comments
 (0)