A block comment must affirmatively end before end of source#2295
A block comment must affirmatively end before end of source#2295kdashg merged 2 commits intogpuweb:mainfrom
Conversation
|
It wasn't clear to me that #1470 clearly resolved whether a block comment can be terminated by the end of source. In that discussion I was against allowing that because it works against being able to easily glue together source texts. |
e7cc51b to
fe6573a
Compare
I like this rationale. My previous weakly-held opinion was that this should fall under "don't generate errors that don't matter", but yours is a good enough reason for me to want to require strictness here. |
WGSL meeting minutes 2021-11-16
|
|
I just happened to see that C++14 has a similar requirement: 2.2 Phases of translation, paragraph 3 says
with footnote 12 saying:
So yay. |
No description provided.