Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Replace error with warnings #16

Open
wants to merge 1 commit into
base: feat/0.6/silence-errors
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libsolidity/codegen/CompilerContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ bool CompilerContext::appendCallback(evmasm::AssemblyItem const& _i) {
switch (_i.instruction()) {
case Instruction::SELFBALANCE:
case Instruction::BALANCE:
m_errorReporter.parserError(
m_errorReporter.warning(
1633_error,
assemblyPtr()->currentSourceLocation(),
"OVM: " +
Expand All @@ -215,7 +215,7 @@ bool CompilerContext::appendCallback(evmasm::AssemblyItem const& _i) {
case Instruction::GASPRICE:
case Instruction::ORIGIN:
case Instruction::SELFDESTRUCT:
m_errorReporter.parserError(
m_errorReporter.warning(
6388_error,
assemblyPtr()->currentSourceLocation(),
"OVM: " +
Expand Down