-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Olivier Nicodemi
committed
Sep 24, 2021
1 parent
e491ff6
commit f074cbe
Showing
2 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
packages/test-data/less/_main/import-reference-issues/comments-2991.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
.referenced { | ||
// line comment is enough to reproduce it | ||
// This file should not output anything if referenced. | ||
@media (hover) { | ||
// sezam | ||
// This file should not output anything if referenced. | ||
} | ||
// repeat to prove point | ||
// This file should not output anything if referenced. | ||
@media (hover) { | ||
// sezam | ||
// This file should not output anything if referenced. | ||
} | ||
// but block comment is not, huh | ||
// This file should not output anything if referenced. | ||
@media (hover) { | ||
/* salabim */ | ||
/* This file should not output anything if referenced. */ | ||
} | ||
// following block does not output, needs line comment | ||
// This file should not output anything if referenced. | ||
@media (hover) { | ||
color: #000000; | ||
} | ||
} | ||
// needs to be nested to fail | ||
// This file should not output anything if referenced. | ||
@media (hover) { | ||
// sezam | ||
// This file should not output anything if referenced. | ||
} | ||
@media (hover) { | ||
/* This file should not output anything if referenced. */ | ||
} |