scrap comments in favor of self-documentation

This commit is contained in:
F. Eugene Aumson
2018-08-16 10:47:33 -07:00
parent acb3c0d0aa
commit 421a7394df

View File

@@ -179,9 +179,8 @@ export class Compiler {
const solcVersion = _.isUndefined(this._solcVersionIfExists)
? semver.maxSatisfying(_.keys(binPaths), parseSolidityVersionRange(contractSource.source))
: this._solcVersionIfExists;
if (_.isUndefined(versionToInputs[solcVersion])) {
// no inputs batched yet for this version.
// prepare object to hold this batch.
const isFirstContractWithThisVersion = _.isUndefined(versionToInputs[solcVersion]);
if (isFirstContractWithThisVersion) {
versionToInputs[solcVersion] = {
standardInput: {
language: 'Solidity',