File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ listed without any additional command line arguments.
88
88
| [ solidity/ERC20/erc20.qnt] ( ./solidity/ERC20/erc20.qnt ) | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
89
89
| [ solidity/GradualPonzi/gradualPonzi.qnt] ( ./solidity/GradualPonzi/gradualPonzi.qnt ) | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
90
90
| [ solidity/icse23-fig7/lottery.qnt] ( ./solidity/icse23-fig7/lottery.qnt ) | :white_check_mark : | :white_check_mark : | :white_check_mark : | :x : |
91
- | [ solidity/SimpleAuction/SimpleAuctionNonComposable .qnt] ( ./solidity/SimpleAuction/SimpleAuctionNonComposable .qnt ) | :white_check_mark : | :white_check_mark : | :x : | :x : |
91
+ | [ solidity/SimpleAuction/SimpleAuction .qnt] ( ./solidity/SimpleAuction/SimpleAuction .qnt ) | :white_check_mark : | :white_check_mark : | :white_check_mark : | :x : |
92
92
| [ solidity/SimplePonzi/simplePonzi.qnt] ( ./solidity/SimplePonzi/simplePonzi.qnt ) | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
93
93
| [ spells/basicSpells.qnt] ( ./spells/basicSpells.qnt ) | :white_check_mark : | :white_check_mark : | :white_check_mark : | :x : |
94
94
| [ spells/commonSpells.qnt] ( ./spells/commonSpells.qnt ) | :white_check_mark : | :white_check_mark : | :white_check_mark : | :x : |
Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ module SimpleAuction {
80
80
// No gas fees are taken into account.
81
81
pure def evmSend( es: EvmState,
82
82
fromAddr : Addr, toAddr : Addr, value : int) : EvmState = {
83
- val bs = es.balances
83
+ // FIXME(#693): type annotation below is a workaround, inferred type is too general
84
+ val bs: Addr - > UInt = es.balances
84
85
val fromBal = bs.get( fromAddr) - value
85
86
val toBal = bs.get( toAddr) + value
86
87
// compute the balances after `evmSend`
Original file line number Diff line number Diff line change @@ -187,10 +187,10 @@ Temporarily disabled.
187
187
<!-- !test check coin - Types & Effects-->
188
188
quint typecheck ../examples/solidity/Coin/coin.qnt
189
189
190
- ### OK on test SimpleAuctionNonComposable .qnt
190
+ ### OK on test SimpleAuction .qnt
191
191
192
- <!-- !test check SimpleAuctionNonComposable - Syntax/Types & Effects/Unit tests -->
193
- quint test --main=SimpleAuction ../examples/solidity/SimpleAuction/SimpleAuctionNonComposable .qnt
192
+ <!-- !test check SimpleAuction - Syntax/Types & Effects/Unit tests -->
193
+ quint test ../examples/solidity/SimpleAuction/SimpleAuction .qnt
194
194
195
195
### OK on test lottery.qnt
196
196
You can’t perform that action at this time.
0 commit comments