kotlin-spec icon indicating copy to clipboard operation
kotlin-spec copied to clipboard

Possible resolution of KT-68543 (Add explanation about declaration checks of variant type parameters)

Open MarkTheHopeful opened this issue 9 months ago • 3 comments

Rough description of how it should work, text is to be altered

MarkTheHopeful avatar Mar 14 '25 15:03 MarkTheHopeful

Currently, inside code snippets in the added part, some math ($\otimes$) is not rendered properly and I haven't figured out yet how to fix that.

MarkTheHopeful avatar Mar 17 '25 08:03 MarkTheHopeful

Try looking at the following example, thanks!

ice-phoenix avatar Mar 17 '25 13:03 ice-phoenix

Try looking at the following example, thanks!

Not exactly was I had in mind, unfortunately; In this example we switch directly to math mode and using verbatim, which is fine if used standalone, but may look out of place if put directly into the code snippet (lines around 1909)

UPD: I found an example of proper unicode usage in the spec ( in CFGs), so there is a way to set up a character to work with latex... Now I just need to find, how it's done here.

UPD2: Found; Fixed.

MarkTheHopeful avatar Mar 18 '25 08:03 MarkTheHopeful

LGTM, thanks a lot for the fixes! Could you squash and rebase?

ice-phoenix avatar Apr 02 '25 08:04 ice-phoenix