imba
imba copied to clipboard
nested element styles crash
If a dynamic value is placed inline with an element, a nested css block will throw an error.
<h2> name # throws error
css c:cooler5
<h2> "name" # no error
css c:cooler5
<h2>
name # no error
css c:cooler5
<h2> "{name}" # no error
css c:cooler8
ERROR:
× failed with 1 errors [
{
detail: undefined,
location: {
column: 4,
file: 'app/client.imba',
length: 3,
line: 83,
lineText: '\t\t\t\tcss c:cooler5',
namespace: 'file'
},
notes: [],
text: "[imba] Unexpected 'CSS'"
}
@ericvida I have tried it and i don't seem to have reproduce the same error. Could you maybe tell how you produced that error?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.