Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bracket Error #845

Closed
edmiikk opened this issue Feb 10, 2023 · 3 comments · May be fixed by #840
Closed

Bracket Error #845

edmiikk opened this issue Feb 10, 2023 · 3 comments · May be fixed by #840

Comments

@edmiikk
Copy link

edmiikk commented Feb 10, 2023

What is wrong?

$ RUST_BACKTRACE=full fe build main.fe --overwrite

thread 'main' panicked at 'not yet implemented', crates/parser/src/parser.rs:74:25
stack backtrace:
0: 0x562feb1bc1a0 -
1: 0x562feb1d972e -
2: 0x562feb1b9145 -
3: 0x562feb1bda93 -
4: 0x562feb1bd77f -
5: 0x562feb12453c -
6: 0x562feb1be1dd -
7: 0x562feb1bdff1 -
8: 0x562feb1bc64c -
9: 0x562feb1bdd52 -
10: 0x562fea47ba03 -
11: 0x562fea47b8cd -
12: 0x562feb0f6c8b -
13: 0x562feb0e90c2 -
14: 0x562feb0e55ca -
15: 0x562feb0e5120 -
16: 0x562feb0e3f79 -
17: 0x562feb0def55 -
18: 0x562feb110746 -
19: 0x562feb110056 -
20: 0x562feb0df6fb -
21: 0x562feafdfe2e -
22: 0x562feafb8bc5 -
23: 0x562feb0366eb -
24: 0x562feb08cc21 -
25: 0x562feaf7f132 -
26: 0x562feaed9b3e -
27: 0x562fea518de3 -
28: 0x562feaea8757 -
29: 0x562feaea86c5 -
30: 0x562fea4e36ec -
31: 0x562fea4d8759 -
32: 0x562fea4ae713 -
33: 0x562fea4b0ef3 -
34: 0x562fea4b5229 -
35: 0x562feb1b484f -
36: 0x562fea4af2f8 -
37: 0x7fe3a6189d90 - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
38: 0x7fe3a6189e40 - __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
39: 0x562fea4928be -
40: 0x0 -

Source

Offending line:

assert (isTopLevelCall and self._initialized < 1)),"Initializable: contract is already initialized"

How can it be fixed

Work around is to drop the offending bracket
assert (isTopLevelCall and self._initialized < 1),"Initializable: contract is already initialized"

@Y-Nak
Copy link
Member

Y-Nak commented Feb 11, 2023

Thanks for opening the issue.
This will be fixed in fe-v2.

@Y-Nak Y-Nak mentioned this issue Feb 11, 2023
@edmiikk
Copy link
Author

edmiikk commented Feb 11, 2023

Domo arigato Nakanishi san.

@edmiikk edmiikk closed this as completed Feb 11, 2023
@Y-Nak
Copy link
Member

Y-Nak commented Feb 12, 2023

Doitashimashite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants