Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
5a0f6714
Commit
5a0f6714
authored
Jan 02, 2020
by
aniket-engg
Committed by
Aniket
Jan 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
target fix
parent
355a02ea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
compiler.ts
remix-solidity/src/compiler/compiler.ts
+3
-2
No files found.
remix-solidity/src/compiler/compiler.ts
View file @
5a0f6714
...
@@ -26,6 +26,7 @@ export class Compiler {
...
@@ -26,6 +26,7 @@ export class Compiler {
evmVersion
:
null
,
evmVersion
:
null
,
language
:
'Solidity'
,
language
:
'Solidity'
,
compilationStartTime
:
null
,
compilationStartTime
:
null
,
target
:
null
,
lastCompilationResult
:
{
lastCompilationResult
:
{
data
:
null
,
data
:
null
,
source
:
null
source
:
null
...
@@ -79,7 +80,7 @@ export class Compiler {
...
@@ -79,7 +80,7 @@ export class Compiler {
compile
(
files
:
Source
,
target
:
string
):
void
{
compile
(
files
:
Source
,
target
:
string
):
void
{
this
.
state
.
target
=
target
this
.
state
.
target
=
target
this
.
event
.
trigger
(
'compilationStarted'
,
[])
this
.
event
.
trigger
(
'compilationStarted'
,
[])
this
.
internalCompile
(
files
,
target
)
this
.
internalCompile
(
files
)
}
}
/**
/**
...
@@ -141,7 +142,7 @@ export class Compiler {
...
@@ -141,7 +142,7 @@ export class Compiler {
// There are fatal errors, abort here
// There are fatal errors, abort here
this
.
state
.
lastCompilationResult
=
null
this
.
state
.
lastCompilationResult
=
null
this
.
event
.
trigger
(
'compilationFinished'
,
[
false
,
data
,
source
])
this
.
event
.
trigger
(
'compilationFinished'
,
[
false
,
data
,
source
])
}
else
if
(
missingInputs
!==
undefined
&&
missingInputs
.
length
>
0
)
{
}
else
if
(
missingInputs
!==
undefined
&&
missingInputs
.
length
>
0
&&
source
&&
source
.
sources
)
{
// try compiling again with the new set of inputs
// try compiling again with the new set of inputs
this
.
internalCompile
(
source
.
sources
,
missingInputs
)
this
.
internalCompile
(
source
.
sources
,
missingInputs
)
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment