Fix some typos in comments

Signed-off-by: eveneast <qcqs@foxmail.com>
pull/4673/head^2
eveneast 7 months ago committed by Aniket
parent f8239f1998
commit f85df66be1
  1. 2
      apps/vyper/src/app/utils/compiler.tsx
  2. 2
      libs/remix-debug/src/solidity-decoder/decodeInfo.ts
  3. 4
      libs/remix-solidity/src/compiler/compiler-abstract.ts

@ -324,7 +324,7 @@ export async function compileContract(contract: string, compilerUrl: string, set
remixClient.changeStatus({
key: 'failed',
type: 'error',
title: `1 error occured ${err.message}`
title: `1 error occurred ${err.message}`
})
setLoadingSpinnerState && setLoadingSpinnerState(false)

@ -229,7 +229,7 @@ function getEnum (type, stateDefinitions, contractName) {
}
/**
* retrieve members declared in the given @arg tye
* retrieve members declared in the given @arg type
*
* @param {String} typeName - name of the struct type (e.g struct <name>)
* @param {Object} stateDefinitions - all state definition given by the AST (including struct and enum type declaration) for all contracts

@ -22,8 +22,8 @@ export class CompilerAbstract {
return helper.getContract(name, this.data.contracts)
}
visitContracts (calllback) {
return helper.visitContracts(this.data.contracts, calllback)
visitContracts (callback) {
return helper.visitContracts(this.data.contracts, callback)
}
getData () {

Loading…
Cancel
Save