Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv2v
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
sv2v
Commits
ccd0bf87
Commit
ccd0bf87
authored
Mar 06, 2019
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Struct conversion paving over LHSDot
parent
1d79c279
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/Convert/Struct.hs
+1
-1
No files found.
src/Convert/Struct.hs
View file @
ccd0bf87
...
@@ -139,7 +139,7 @@ convertAsgn structs types (lhs, expr) =
...
@@ -139,7 +139,7 @@ convertAsgn structs types (lhs, expr) =
rs'
=
r
:
tail
rs
rs'
=
r
:
tail
rs
convertLHS
(
LHSDot
l
x
)
=
convertLHS
(
LHSDot
l
x
)
=
case
t
of
case
t
of
InterfaceT
_
_
_
->
(
Implicit
[]
,
l'
)
InterfaceT
_
_
_
->
(
Implicit
[]
,
LHSDot
l'
x
)
Struct
_
_
_
->
case
Map
.
lookup
structTf
structs
of
Struct
_
_
_
->
case
Map
.
lookup
structTf
structs
of
Nothing
->
(
fieldType
,
LHSDot
l'
x
)
Nothing
->
(
fieldType
,
LHSDot
l'
x
)
Just
(
structT
,
m
)
->
(
tf
[
tr
],
LHSRange
l'
r
)
Just
(
structT
,
m
)
->
(
tf
[
tr
],
LHSRange
l'
r
)
...
...
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