atom-language icon indicating copy to clipboard operation
atom-language copied to clipboard

Double-Heredocs Seem to Break Highlights

Open zoffixznet opened this issue 7 years ago • 0 comments

All the stuff after SEARCHES closing delimiter is still highlighted as strings

Example Code

my @expected-searches = <beer masak vacation whisky>;
my ($y, @searches) = q:to/INPUT/, q:to/SEARCHES/.lines;
    xxxx
    INPUT
    beer
    masak
    vacation
    whisky
    SEARCHES
is(@searches.elems, 1, "We didn't flatten the RHS because it's no single argument");
is(@searches[0].WHAT, Seq, "Seq stayed intact");
is-deeply @searches[0].Array, @expected-searches, 'seq => array works 3';

Picture [optional]

image

Leave this in. For internal use.

  • [ ] Fixed in Master
  • [ ] Fixed in Release
  • [ ] Has Tests
  • [ ] Passes Tests

zoffixznet avatar Apr 28 '17 21:04 zoffixznet