### What version of PRBMath are you using? 4.0.3 ### What version of Solidity are you using? 0.8.24 ### Describe the bug I can't compile my project after I enable hardhat-upgrades plugin v3.2.0. It points out problems with the documentation: ``` > [email protected] compile > hardhat compile An unexpected error occurred: Error: Failed to compile modified contracts for namespaced storage: DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/ud60x18/Math.sol:50:1: | 50 | /// @notice Yields the smallest whole number greater than or equal to x. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/ud60x18/Math.sol:63:1: | 63 | /// @notice Divides two UD60x18 numbers, returning a new UD60x18 number. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/ud60x18/Math.sol:106:1: | 106 | /// @notice Yields the greatest whole number less than or equal to x. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/ud60x18/Math.sol:114:1: | 114 | /// @notice Yields the excess beyond the floor of x using the odd function definition. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/sd59x18/Math.sol:26:1: | 26 | /// @notice Calculates the absolute value of x. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/sd59x18/Math.sol:47:1: | 47 | /// @notice Yields the smallest whole number greater than or equal to x. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/sd59x18/Math.sol:60:1: | 60 | /// @notice Divides two SD59x18 numbers, returning a new SD59x18 number. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/sd59x18/Math.sol:119:1: | 119 | /// @notice Yields the greatest whole number less than or equal to x. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/sd59x18/Math.sol:132:1: | 132 | /// @notice Yields the excess beyond the floor of x for positive numbers and the part of the number to the right. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/sd59x18/Conversions.sol:8:1: | 8 | /// @notice Converts a simple integer to SD59x18 by multiplying it by `UNIT`. | ^ (Relevant source part starts here and spans across multiple lines). DocstringParsingError: Documented parameter "result" not found in the parameter list of the function. --> @prb/math/src/ud60x18/Conversions.sol:14:1: | 14 | /// @notice Converts a simple integer to UD60x18 by multiplying it by `UNIT`. | ^ (Relevant source part starts here and spans across multiple lines). ``` I'm not sure if this is good behavior on the part of the plugin, but it probably makes sense to fix these problems in the prb math.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by hegelwin and has received 3 comments.