#My most complex Code ever written by me.
6 messages · Page 1 of 1 (latest)
doens't compile for me
@bitter rose has reached level 38. GG!
Downloads/message(3).txt:223:16: error: no matching constructor for initialization of 'FunctionDecl'
223 | return FunctionDecl{name, {}, std::move(body)};
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
Downloads/message(3).txt:122:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
122 | struct FunctionDecl : ASTNode {
| ^~~~~~~~~~~~
Downloads/message(3).txt:122:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
122 | struct FunctionDecl : ASTNode {
| ^~~~~~~~~~~~
Downloads/message(3).txt:122:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided
Downloads/message(3).txt:231:23: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
231 | std::stringstream output;
| ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../include/c++/16.1.1/iosfwd:112:11: note: template is declared here
112 | class basic_stringstream;
| ^
ill debug it'