Closed bakkot closed 1 year ago
Thank you! For the second point, would this be valid or do I need to explicitly write a loop?
- If _referrer.[[LoadedModules]] contains a Record _record whose [[Specifier]] is _moduleRequest.[[Specifier]] and AttributesEqual(_record.[[Attributes]], _moduleRequest_.[[Attributes]]) is true, then
Ecmarkup doesn't recognize "whose", but it does recognize "such that", so contains a Record _record_ such that _record_.[[Specifier]]
should work.
Thank you! Down to a single error now; I'll follow up on the first point once #133 is merged.
This fixes a majority of the errors you get when running
npm run build -- --lint-spec
. There's two left:_record_
alias which hasn't been introduced. I don't know what that's supposed to be, so I left it alone.You can't enforce linting without fixing both of these, alas, and the first is not fixable without an update to ecmarkup - which I can do if we're decided on what is needed here.