Open PaulRBerg opened 1 year ago
Describe the bug
Triple slash (///) comments are not properly highlighted in Solidity
To Reproduce Steps to reproduce the behavior:
Expected behavior
The triple slash (///) comments should be highlighted just like the double slash (//) comments, but they aren't.
Screenshots
Code Snippet
Describe the bug
Triple slash (///) comments are not properly highlighted in Solidity
To Reproduce Steps to reproduce the behavior:
Expected behavior
The triple slash (///) comments should be highlighted just like the double slash (//) comments, but they aren't.
Screenshots
Code Snippet
Toggle me
```solidity pragma solidity >=0.8.13; import "@prb/math/UD60x18.sol"; contract PRBMathV3 { /// @dev Compiler throws error "Operator * not compatible with types UD60x18 and uint256". // @dev Compiler throws error "Operator * not compatible with types UD60x18 and uint256". function multiplyByTimestamp(UD60x18 x) external pure returns (UD60x18 result) { result = x * block.timestamp; } } ```