Colon in the string literal leads to a syntax error
Bug #1489824 reported by
Alexey Khivin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Confirmed
|
Medium
|
Stan Lagun |
Bug Description
Usually I expect that string literals will not break program execution. And I believe it is true for most of the programming languages that any character in the string literal must not lead to syntax error (except of escape sequences)
In the MuranoPL row with a colon (':') like this
- $log.debug('debug: {0}', param)
leads to syntax error
but if we remove colon like this
- $log.debug('debug {0}', param)
it become syntactically correct
I believe that such kind of behaviour should be fixed or should be explained in the MuranoPL documentation at least
My script with the colon at the last row which breaks the Syntax
http://
tags: | added: engine muranopl |
Changed in murano: | |
status: | New → Confirmed |
description: | updated |
Changed in murano: | |
milestone: | none → liberty-rc1 |
assignee: | nobody → Stan Lagun (slagun) |
importance: | Undecided → Critical |
Changed in murano: | |
status: | Won't Fix → Confirmed |
importance: | Critical → High |
Changed in murano: | |
milestone: | liberty-rc1 → next |
tags: | added: release-notes |
Changed in murano: | |
milestone: | next → mitaka-1 |
Changed in murano: | |
importance: | High → Medium |
Changed in murano: | |
milestone: | mitaka-1 → mitaka-2 |
Changed in murano: | |
milestone: | mitaka-2 → mitaka-3 |
Changed in murano: | |
milestone: | mitaka-3 → mitaka-rc1 |
Changed in murano: | |
milestone: | mitaka-rc1 → next |
To post a comment you must log in.
As I understand, comment a whole line should work for YAML but it does not work for MuranoPL
- "$log.debug('debug: {0}', param)"