Gabriel Nordeborn
Gabriel Nordeborn
Thank you @interphx, will look into it. We squashed a bug like this a while back, hopefully we can just extend that fix to cover this case as well.
Examples: https://rescript-lang.org/try?code=C4TwDgpgBAzg9gWwgNQIYCcCWqB2woC8UA9AFSlQDyO0mMUAxnHADZSnFU1QA+J5UACoB3OFDpRULeI2ZsOQ0QCglLCPnhIAYjkJQAFGQqCAFhICuOFqgBGEFmoAmk9AHNx9HJgYQAdO04cVCQALlhgLBxXABp+Ck0IAEE3DyhXZmcAMzh0KEc4TCjw80zMgKgAPwTk1zDC4AIAfgBKQgA+KABvJSgoIA
🤦 That's good at least 😄
@cometkim you waiting on anything from any of us on this one?
> > @cometkim you waiting on anything from any of us on this one? > > No, I just took a break from coding over the Korean holidays. Enjoy your...
Agreed, looks great! 👏
I think that makes sense, IIRC I started looking at this at some point... I don't immediately see a problem with not emitting empty modules at all, regardless of whether...
Do we really need to care about this for v12? Bundlers will just remove it because it's dead anyway.
Cc @mununki
Seems the problem is when the doc comment is the only thing (as in, not preceded by an annotation): https://rescript-lang.org/try?version=v11.1.2&code=C4TwDgpgBGCGwAsCSwIFsoF4oG8C+AUAAIBOEAzgHQAmA9gMYAUARACIX0kCWARhVLCjkuAOwDmAG2gBBAApIotSCXhdaIxRsFxElZgEoCAegBUJqO3Kde-QcPFSochUogrgajeoEx4CSlAmRgSwItSKyqre2DiwAFxCwNzihEA To work around it for now you can use `@res.doc`...