Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output non-matching eDSL objects to String #746

Merged
merged 1 commit into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sequencing-server/src/lib/codegen/CommandEDSLPreface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export class Sequence implements SeqJson {
if (step instanceof CommandStem || step instanceof Ground_Block || step instanceof Ground_Event) {
return step.toEDSLString() + ',';
}
return step + ',';
return objectToString(step) + ',';
})
.join('\n'),
1,
Expand Down Expand Up @@ -382,7 +382,7 @@ export class Sequence implements SeqJson {
if (s instanceof CommandStem || s instanceof Ground_Block || s instanceof Ground_Event) {
return s.toEDSLString() + ',';
}
return s + ',';
return objectToString(s) + ',';
})
.join('\n'),
1,
Expand Down
camargo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class Sequence implements SeqJson {
if (step instanceof CommandStem || step instanceof Ground_Block || step instanceof Ground_Event) {
return step.toEDSLString() + ',';
}
return step + ',';
return objectToString(step) + ',';
})
.join('\\n'),
1,
Expand Down Expand Up @@ -385,7 +385,7 @@ export class Sequence implements SeqJson {
if (s instanceof CommandStem || s instanceof Ground_Block || s instanceof Ground_Event) {
return s.toEDSLString() + ',';
}
return s + ',';
return objectToString(s) + ',';
})
.join('\\n'),
1,
Expand Down