imba icon indicating copy to clipboard operation
imba copied to clipboard

nested element styles crash

Open ericvida opened this issue 4 years ago • 2 comments

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 avatar Oct 29 '21 05:10 ericvida

@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?

nirbhay12345 avatar Dec 13 '21 05:12 nirbhay12345

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.

stale[bot] avatar Jun 11 '22 06:06 stale[bot]