forked from cerc-io/plugeth
Silent compiler errors when continues compiling
This commit is contained in:
parent
ca395306e3
commit
de183e80db
@ -64,7 +64,7 @@ func (self *DebuggerWindow) SetAsm(data []byte) {
|
|||||||
func (self *DebuggerWindow) Compile(code string) {
|
func (self *DebuggerWindow) Compile(code string) {
|
||||||
var err error
|
var err error
|
||||||
script := ethutil.StringToByteFunc(code, func(s string) (ret []byte) {
|
script := ethutil.StringToByteFunc(code, func(s string) (ret []byte) {
|
||||||
ret, err = ethutil.Compile(s)
|
ret, err = ethutil.Compile(s, true)
|
||||||
return
|
return
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data
|
|||||||
|
|
||||||
var err error
|
var err error
|
||||||
script := ethutil.StringToByteFunc(scriptStr, func(s string) (ret []byte) {
|
script := ethutil.StringToByteFunc(scriptStr, func(s string) (ret []byte) {
|
||||||
ret, err = ethutil.Compile(s)
|
ret, err = ethutil.Compile(s, false)
|
||||||
return
|
return
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user