pull/5270/head
yann300 2 months ago committed by Aniket
parent 182381dc27
commit 333ff35c85
  1. 4
      libs/remix-ui/renderer/src/lib/renderer.tsx

@ -47,8 +47,8 @@ export const Renderer = ({ message, opt, plugin }: RendererProps) => {
// ^ e.g:
// browser/gm.sol: Warning: Source file does not specify required compiler version! Consider adding "pragma solidity ^0.6.12
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0/contracts/introspection/IERC1820Registry.sol:3:1: ParserError: Source file requires different compiler version (current compiler is 0.7.4+commit.3f05b770.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
if (!opt.errLine) {
if (!opt.errLine) {
const positionDetails = helper.getPositionDetails(text)
opt.errLine = positionDetails.errLine as number

Loading…
Cancel
Save