Bug #5828

Incorrect handling of let and do blocks in SCL console

Added by Hannu Niemistö over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2015-05-06
Priority:4Due date:2015-05-06
Assignee:Hannu Niemistö% Done:

100%

Category:-Spent time:-
Target version:1.18.1
Release notes:Fixed handling of let and do blocks in SCL console.
Tags: scl, console
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Description

SCL console drops parts of let and do -expressions, for example, when writing

let x=1 in x

the console prints
> x=1

Associated revisions

Revision 31251
Added by Hannu Niemistö over 2 years ago

(fixes #5828) Fixed two bugs. One related to how the location of let and do expressions are computed, other related on how their results are handled in ExpressionEvaluator.

Revision 31252
Added by Tuukka Lehtonen over 2 years ago

Merged trunk@31251 to branches/simantics-1.18 on 2015-05-06 for 1.18.1 release.

refs #5828

Revision 31255
Added by Tuukka Lehtonen over 2 years ago

Reverted import java.io.IOException removal from SCLParserImpl to make it and SCLCompiler compile after merge r31252.

refs #5828

Revision 31259
Added by Hannu Niemistö over 2 years ago

(refs #5828) Print import-commands to console too.

History

#1 Updated by Hannu Niemistö over 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset r31251.

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Release set to 17

#3 Updated by Tuukka Lehtonen over 2 years ago

  • Tags set to scl, console

#4 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from Resolved to Closed

#5 Updated by Tuukka Lehtonen over 2 years ago

  • Release notes set to Fixed handling of let and do blocks in SCL console.

Also available in: Atom PDF