aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc/test
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-09-18 05:23:55 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-09-18 07:31:30 +0800
commit5b07669bd0e128a92c8a71d797ac95d77337209b (patch)
tree1c6a6992021d9d3347c13de2689cedcd2d3294ac /packages/sol-doc/test
parent3c7155afb07f17c62d7203c43bddeb4a3c5b7b01 (diff)
downloaddexon-sol-tools-5b07669bd0e128a92c8a71d797ac95d77337209b.tar
dexon-sol-tools-5b07669bd0e128a92c8a71d797ac95d77337209b.tar.gz
dexon-sol-tools-5b07669bd0e128a92c8a71d797ac95d77337209b.tar.bz2
dexon-sol-tools-5b07669bd0e128a92c8a71d797ac95d77337209b.tar.lz
dexon-sol-tools-5b07669bd0e128a92c8a71d797ac95d77337209b.tar.xz
dexon-sol-tools-5b07669bd0e128a92c8a71d797ac95d77337209b.tar.zst
dexon-sol-tools-5b07669bd0e128a92c8a71d797ac95d77337209b.zip
add and test support for fallback functions
Diffstat (limited to 'packages/sol-doc/test')
-rw-r--r--packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol b/packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol
index 3dea03c9a..c6ad3db81 100644
--- a/packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol
+++ b/packages/sol-doc/test/fixtures/contracts/NatspecEverything.sol
@@ -16,6 +16,9 @@ contract NatspecEverything {
/// @return publicMethod @return
function publicMethod(int p) public pure returns(int r) { return p; }
+ /// @dev Fallback @dev
+ function () public {}
+
/// @notice externalMethod @notice
/// @dev externalMethod @dev
/// @param p externalMethod @param