Comments (2)
I will look into this.
from sway.
I think this is a problem with the error message on your compiler version. master
version correctly points out that the string slice actually has 7 chars (all the identation tabs). Removing them, it worked for me.
from sway.
Related Issues (20)
- Add `Output::ContractCreated` transaction to `Output` enum
- Reduce memory allocation in `input_message_data()`
- [FORC-BUILD] Configurables empty on ABI generation HOT 1
- User defined `CONTRACT_ID` configurable creates internal compiler error on `forc test`
- ICE: Block while has a misplaced terminator
- Add section for conditional operations in the Sway Book
- Loops involving entry block are not properly handled. HOT 1
- inline pass is unable to handle recursive (self-calling) functions
- Use checked_mod in ir operations to avoid panics HOT 1
- Consider use of non cryptographic hash for function hashing
- Flaws in escape analysis may result in incorrect optimization HOT 2
- CEI pattern analysis doesn't consider mint and burn
- Reconsider making invalid arithmetic operations UB
- U256 ops sometimes fetches values from incorrect address HOT 1
- U256 log may return incorrect values HOT 1
- pow can return invalid results HOT 1
- out of bound read on clear for Vec and Bytes HOT 1
- StorageVec improperly handles small values HOT 1
- mlog and mroo should panic on illegal inputs
- width of constants doesn't match between fuel-vm, sway and spec HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sway.