Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPFrey committed Apr 2, 2022
1 parent b53746c commit df0cc38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Assignment.h
Expand Up @@ -36,7 +36,7 @@ class Assignment : public ASTNode
const std::string name;
shared_ptr<class Expression> expr;
AnnotationMap annotations;
Location locOfOverwrite/*=Location::NONE*/;
Location locOfOverwrite;
};

template <class ... Args> shared_ptr<Assignment> assignment(Args... args) {
Expand Down
4 changes: 4 additions & 0 deletions tests/data/scad/misc/variable-overwrite.scad
@@ -0,0 +1,4 @@
// This test is designed to trigger a very specific trace
a = "test";
b = true;
a = assert(b);
@@ -0,0 +1 @@

0 comments on commit df0cc38

Please sign in to comment.