fix yoyo parsing

pull/1/head
yann300 7 years ago
parent 2f7d78ed52
commit 0f77b94d22
  1. 4
      src/app/staticanalysis/modules/similarVariableNames.js

@ -29,11 +29,11 @@ function report (contracts, multipleContractsWithSameName) {
var funcName = common.getFullQuallyfiedFuncDefinitionIdent(contract.node, func.node, func.parameters)
var hasModifiersComments = ''
if (hasModifiers) {
hasModifiersComments = yo`<span><br/><i>Note:</i> Modifiers are currently not considered by this static analysis.</span>`
hasModifiersComments = yo`<span><br><i>Note:</i> Modifiers are currently not considered by this static analysis.</span>`
}
var multipleContractsWithSameNameComments = ''
if (multipleContractsWithSameName) {
multipleContractsWithSameNameComments = yo`<span><br/><i>Note:</i> Import aliases are currently not supported by this static analysis.</span>`
multipleContractsWithSameNameComments = yo`<span><br><i>Note:</i> Import aliases are currently not supported by this static analysis.</span>`
}
var vars = getFunctionVariables(contract, func).map(common.getDeclaredVariableName)

Loading…
Cancel
Save