aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-09-18 07:02:48 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-09-18 07:31:45 +0800
commit4bab402e95fd2242ad3a472e2b5076c5026da50a (patch)
tree110085c253ea990d9c2cff144f44e34224b55508 /packages/sol-doc
parent91de15d50e77db615da900ffa7aba6d32f40a28e (diff)
downloaddexon-sol-tools-4bab402e95fd2242ad3a472e2b5076c5026da50a.tar.gz
dexon-sol-tools-4bab402e95fd2242ad3a472e2b5076c5026da50a.tar.zst
dexon-sol-tools-4bab402e95fd2242ad3a472e2b5076c5026da50a.zip
doc constructors as returning a Reference...
...not an Intrinsic
Diffstat (limited to 'packages/sol-doc')
-rw-r--r--packages/sol-doc/src/solidity_doc_generator.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-doc/src/solidity_doc_generator.ts b/packages/sol-doc/src/solidity_doc_generator.ts
index 8093020b9..6c67f921d 100644
--- a/packages/sol-doc/src/solidity_doc_generator.ts
+++ b/packages/sol-doc/src/solidity_doc_generator.ts
@@ -124,7 +124,7 @@ function _genConstructorDoc(abiDefinition: ConstructorAbi, devdocIfExists: Devdo
name: '', // sad we have to specify this
callPath: '',
parameters,
- returnType: { name: '', typeDocType: TypeDocTypes.Intrinsic }, // sad we have to specify this
+ returnType: { name: '', typeDocType: TypeDocTypes.Reference }, // sad we have to specify this
isConstant: false,
isPayable: abiDefinition.payable,
comment,