mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Natspec: Add warning when using @author with functions
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
contract C {
|
||||
/// @author author
|
||||
function iHaveAuthor() public pure {}
|
||||
}
|
||||
// ----
|
||||
// Warning 9843: (17-35): Documentation tag @author is only allowed on contract definitions. It will be disallowed in 0.7.0.
|
||||
Reference in New Issue
Block a user