Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
YaRiabtsev committed Oct 20, 2022
1 parent 1b5c0ba commit 530834d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions project/src/transpiler/enumdecl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ EnumType ProcessEnumDecl(const clang::EnumDecl *ED) {
if (enum_const_decl == nullptr) {
return {};
}
TypeSimpl typeInfo =
transpiler.type_manger_.Add(enum_const_decl->getType().getTypePtrOrNull());
TypeSimpl typeInfo = transpiler.type_manger_.Add(
enum_const_decl->getType().getTypePtrOrNull());
size = typeInfo.GetSizeOfType();
std::string name = "c-" + enum_const_decl->getNameAsString();
int64_t value = enum_const_decl->getInitVal().getExtValue();
Expand Down
10 changes: 5 additions & 5 deletions project/src/transpiler/memory_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static const int eight_bytes = 8;
#include "clang/Tooling/Tooling.h"
#include "llvm/Support/CommandLine.h"
#include "src/transpiler/eo_object.h"
#include "type_manager.h"
#include "src/transpiler/type_manager.h"

// Representation of a simple variable stored in RAM
struct Variable {
Expand Down Expand Up @@ -72,14 +72,14 @@ class MemoryManager {
size_t start_pointer = 8)
: name_(std::move(name)), pointer_(start_pointer) {}

Variable Add(const clang::VarDecl *id, const TypeSimpl& typeInfo,
Variable Add(const clang::VarDecl *id, const TypeSimpl &typeInfo,
const std::string &alias, EOObject value,
std::string local_name = "", size_t shift = 0,
bool is_initialized = true);

Variable AddExternal(const clang::VarDecl *id, TypeSimpl typeInfo, std::string alias,
EOObject value, std::string local_name = "",
size_t shift = 0,
Variable AddExternal(const clang::VarDecl *id, TypeSimpl typeInfo,
std::string alias, EOObject value,
std::string local_name = "", size_t shift = 0,
__attribute__((unused)) bool is_initialized = false);

bool Empty();
Expand Down
50 changes: 25 additions & 25 deletions project/src/transpiler/type_manager.cpp
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2021-2022 c2eo team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
* The MIT License (MIT)
*
* Copyright (c) 2021-2022 c2eo team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

#include "type_manager.h"
#include "src/transpiler/type_manager.h"

#include <iostream>

#include "clang/AST/ASTContext.h"
#include "unit_transpiler.h"
#include "vardecl.h"
#include "src/transpiler/unit_transpiler.h"
#include "src/transpiler/vardecl.h"
extern clang::ASTContext* context;
TypeSimpl TypeManger::GetById(int64_t id) {
for (const auto& ts : types) {
Expand Down
4 changes: 2 additions & 2 deletions project/src/transpiler/type_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* SOFTWARE.
*/

#ifndef PROJECT_SRC_TRANSPILER_TYPE_Manager_H_
#define PROJECT_SRC_TRANSPILER_TYPE_Manager_H_
#ifndef PROJECT_SRC_TRANSPILER_TYPE_MANAGER_H_
#define PROJECT_SRC_TRANSPILER_TYPE_MANAGER_H_

#include <cstdint>
#include <string>
Expand Down

1 comment on commit 530834d

@0pdd
Copy link
Member

@0pdd 0pdd commented on 530834d Oct 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to retrieve PDD puzzles from the code base and submit them to github. If you think that it's a bug on our side, please submit it to yegor256/0pdd:

set -x && set -e && set -o pipefail && cd /tmp/0pdd20221020-13-192f99f/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvYzJlby5naXQ && pdd -v -f /tmp/20221020-4583-dyibm0 [1]: + set -e + set -o pipefail + cd /tmp/0pdd20221020-13-192f99f/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvYzJlby5naXQ + pdd -v -f...

Please, copy and paste this stack trace to GitHub:

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20221020-13-192f99f/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvYzJlby5naXQ && pdd -v -f /tmp/20221020-4583-dyibm0 [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20221020-13-192f99f/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvYzJlby5naXQ
+ pdd -v -f /tmp/20221020-4583-dyibm0

My version is 0.22.0
Ruby version is 2.7.5 at x86_64-linux
Reading from root dir /tmp/0pdd20221020-13-192f99f/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvYzJlby5naXQ
/tmp/0pdd20221020-13-192f99f/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvYzJlby5naXQ/project/scripts/data/skips/test.txt is a binary file (0 bytes)
/tmp/0pdd20221020-13-192f99f/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvYzJlby5naXQ/project/tests/in_progress/for_main/.gitkeep is a binary file (0 bytes)
/tmp/0pdd20221020-13-192f99f/Z2l0QGdpdGh1Yi5jb206cG9seXN0YXQvYzJlby5naXQ/project/tests/in_progress/test_suit_modified/00013/00013.c is a binary file (0 bytes)
Reading .gitignore ...
Reading README.md ...
Reading .gitattributes ...
Reading Dockerfile ...
Reading .rultor.yml ...
Reading project/eo-lib/pom.xml ...
Reading project/eo-lib/coperators/mod.eo ...
Reading project/eo-lib/coperators/post-dec-float32.eo ...
Reading project/eo-lib/coperators/c-label.eo ...
Reading project/eo-lib/coperators/pre-dec-float32.eo ...
Reading project/eo-lib/coperators/read-as-int64.eo ...
Reading project/eo-lib/coperators/read-as-int8.eo ...
Reading project/eo-lib/coperators/pre-inc-uint32.eo ...
Reading project/eo-lib/coperators/null-function.eo ...
Reading project/eo-lib/coperators/write-as-float32.eo ...
Reading project/eo-lib/coperators/addr-of.eo ...
Reading project/eo-lib/coperators/write-as-uint8.eo ...
Reading project/eo-lib/coperators/ram.eo ...
Reading project/eo-lib/coperators/shift-right.eo ...
Reading project/eo-lib/coperators/post-inc-uint32.eo ...
Reading project/eo-lib/coperators/addrcpy.eo ...
Reading project/eo-lib/coperators/post-inc-float32.eo ...
Reading project/eo-lib/coperators/write-as-int64.eo ...
Reading project/eo-lib/coperators/plug.eo ...
Reading project/eo-lib/coperators/pre-dec-ptr.eo ...
Reading project/eo-lib/coperators/read-as-float32.eo ...
Reading project/eo-lib/coperators/write-as-ptr.eo ...
Reading project/eo-lib/coperators/post-dec-uint64.eo ...
Reading project/eo-lib/coperators/post-inc-uint64.eo ...
Reading project/eo-lib/coperators/as-int16.eo ...
Reading project/eo-lib/coperators/pre-dec-uint8.eo ...
Reading project/eo-lib/coperators/post-dec-int8.eo ...
Reading project/eo-lib/coperators/minus.eo ...
Reading project/eo-lib/coperators/write-as-int16.eo ...
Reading project/eo-lib/coperators/post-inc-float64.eo ...
Reading project/eo-lib/coperators/read-as-ptr.eo ...
Reading project/eo-lib/coperators/pre-dec-int8.eo ...
Reading project/eo-lib/coperators/as-int8.eo ...
Reading project/eo-lib/coperators/post-dec-uint16.eo ...
Reading project/eo-lib/coperators/write-as-bool.eo ...
Reading project/eo-lib/coperators/read-as-uint8.eo ...
Reading project/eo-lib/coperators/pre-dec-int16.eo ...
Reading project/eo-lib/coperators/as-uint32.eo ...
Reading project/eo-lib/coperators/post-dec-ptr.eo ...
Reading project/eo-lib/coperators/as-uint64.eo ...
Reading project/eo-lib/coperators/write-as-int8.eo ...
Reading project/eo-lib/coperators/post-dec-uint8.eo ...
Reading project/eo-lib/coperators/pre-dec-int64.eo ...
Reading project/eo-lib/coperators/pre-inc-int64.eo ...
Reading project/eo-lib/coperators/times.eo ...
Reading project/eo-lib/coperators/read-as-address.eo ...
Reading project/eo-lib/coperators/read-as-int16.eo ...
Reading project/eo-lib/coperators/post-dec-int64.eo ...
Reading project/eo-lib/coperators/c-goto.eo ...
Reading project/eo-lib/coperators/pre-inc-uint64.eo ...
Reading project/eo-lib/coperators/post-inc-int8.eo ...
Reading project/eo-lib/coperators/pre-inc-float32.eo ...
Reading project/eo-lib/coperators/post-inc-int16.eo ...
Reading project/eo-lib/coperators/write-as-string.eo ...
Reading project/eo-lib/coperators/as-char.eo ...
Reading project/eo-lib/coperators/read.eo ...
Reading project/eo-lib/coperators/read-as-uint64.eo ...
Reading project/eo-lib/coperators/pre-dec-uint32.eo ...
Reading project/eo-lib/coperators/div.eo ...
Reading project/eo-lib/coperators/and.eo ...
Reading project/eo-lib/coperators/get.eo ...
Reading project/eo-lib/coperators/write-as-uint64.eo ...
Reading project/eo-lib/coperators/read-as-int32.eo ...
Reading project/eo-lib/coperators/pre-dec-float64.eo ...
Reading project/eo-lib/coperators/bit-not.eo ...
Reading project/eo-lib/coperators/as-bytes.eo ...
Reading project/eo-lib/coperators/post-dec-int32.eo ...
Reading project/eo-lib/coperators/pre-dec-int32.eo ...
Reading project/eo-lib/coperators/plus.eo ...
Reading project/eo-lib/coperators/write-as-uint32.eo ...
Reading project/eo-lib/coperators/write-as-uint16.eo ...
Reading project/eo-lib/coperators/bit-xor.eo ...
Reading project/eo-lib/coperators/as-uint16.eo ...
Reading project/eo-lib/coperators/pre-inc-uint8.eo ...
Reading project/eo-lib/coperators/as-float32.eo ...
Reading project/eo-lib/coperators/gte.eo ...
Reading project/eo-lib/coperators/post-dec-float64.eo ...
Reading project/eo-lib/coperators/pre-inc-ptr.eo ...
Reading project/eo-lib/coperators/write.eo ...
Reading project/eo-lib/coperators/lte.eo ...
Reading project/eo-lib/coperators/pre-dec-uint16.eo ...
Reading project/eo-lib/coperators/post-dec-int16.eo ...
Reading project/eo-lib/coperators/set.eo ...
Reading project/eo-lib/coperators/memcpy.eo ...
Reading project/eo-lib/coperators/as-int32.eo ...
Reading project/eo-lib/coperators/neq.eo ...
Reading project/eo-lib/coperators/post-inc-ptr.eo ...
Reading project/eo-lib/coperators/pre-inc-uint16.eo ...
Reading project/eo-lib/coperators/if.eo ...
Reading project/eo-lib/coperators/not.eo ...
Reading project/eo-lib/coperators/gt.eo ...
Reading project/eo-lib/coperators/post-inc-int64.eo ...
Reading project/eo-lib/coperators/write-as-int32.eo ...
Reading project/eo-lib/coperators/if-else.eo ...
Reading project/eo-lib/coperators/as-bool.eo ...
Reading project/eo-lib/coperators/memaddrcpy.eo ...
Reading project/eo-lib/coperators/write-as-float64.eo ...
Reading project/eo-lib/coperators/shift-left.eo ...
Reading project/eo-lib/coperators/addrmemcpy.eo ...
Reading project/eo-lib/coperators/pre-inc-float64.eo ...
Reading project/eo-lib/coperators/neg.eo ...
Reading project/eo-lib/coperators/read-as-uint32.eo ...
Reading project/eo-lib/coperators/post-inc-uint8.eo ...
Reading project/eo-lib/coperators/as-int64.eo ...
Reading project/eo-lib/coperators/printf.eo ...
Reading project/eo-lib/coperators/post-dec-uint32.eo ...
Reading project/eo-lib/coperators/read-as-float64.eo ...
Reading project/eo-lib/coperators/pos.eo ...
Reading project/eo-lib/coperators/read-as-string.eo ...
Reading project/eo-lib/coperators/read-as-uint16.eo ...
Reading project/eo-lib/coperators/address.eo ...
Reading project/eo-lib/coperators/post-inc-uint16.eo ...
Reading project/eo-lib/coperators/pre-dec-uint64.eo ...
Reading project/eo-lib/coperators/eq.eo ...
Reading project/eo-lib/coperators/pre-inc-int8.eo ...
Reading project/eo-lib/coperators/or.eo ...
Reading project/eo-lib/coperators/post-inc-int32.eo ...
Reading project/eo-lib/coperators/pre-inc-int16.eo ...
Reading project/eo-lib/coperators/as-float64.eo ...
Reading project/eo-lib/coperators/read-as-bool.eo ...
Reading project/eo-lib/coperators/pre-inc-int32.eo ...
Reading project/eo-lib/coperators/as-uint8.eo ...
Reading project/eo-lib/coperators/lt.eo ...
Reading project/eo-lib/coperators/as-string.eo ...
Reading project/eo-lib/coperators/bit-or.eo ...
Reading project/eo-lib/coperators/bit-and.eo ...
Reading project/CMakeLists.txt ...
Reading project/scripts/build_c2eo.py ...
Reading project/scripts/build_eo.py ...
Reading project/scripts/code_lines.py ...
Reading project/scripts/c2eo-all.py ...
Reading project/scripts/clang_tidy.py ...
Reading project/scripts/eo_execute.py ...
Reading project/scripts/compile.py ...
Reading project/scripts/readme.md ...
Reading project/scripts/clean_before_transpilation.py ...
Reading project/scripts/tools.py ...
Reading project/scripts/update-release.py ...
Reading project/scripts/test.py ...
Reading project/scripts/transpile.py ...
Reading project/scripts/data/settings.yml ...
Reading project/scripts/data/meta/run.sh.txt ...
Reading project/scripts/data/meta/plug.txt ...
Reading project/scripts/data/skips/gcc.txt ...
Reading project/scripts/data/skips/testcuite.txt ...
ERROR: ERROR: project/scripts/data/skips/testcuite.txt; PDD::Error at project/scripts/data/skips/testcuite.txt:1: TODO found, but puzzle can't be parsed, most probably because TODO is not followed by a puzzle marker, as this page explains: https://github.com/cqfn/pdd#how-to-format
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/cqfn/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/cqfn/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:73:in `rescue in block in xml'
/app/objects/git_repo.rb:70:in `block in xml'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/tempfile.rb:291:in `open'
/app/objects/git_repo.rb:69:in `xml'
/app/objects/puzzles.rb:41:in `deploy'
/app/objects/jobs/job.rb:38:in `proceed'
/app/objects/jobs/job_starred.rb:32:in `proceed'
/app/objects/jobs/job_recorded.rb:31:in `proceed'
/app/objects/jobs/job_emailed.rb:33:in `proceed'
/app/objects/jobs/job_commiterrors.rb:33:in `proceed'
/app/objects/jobs/job_detached.rb:48:in `exclusive'
/app/objects/jobs/job_detached.rb:36:in `block in proceed'
/app/objects/jobs/job_detached.rb:36:in `fork'
/app/objects/jobs/job_detached.rb:36:in `proceed'
/app/0pdd.rb:530:in `process_request'
/app/0pdd.rb:367:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1686:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1686:in `block in compile!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1023:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1042:in `route_eval'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1023:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1071:in `block in process_route'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1069:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1069:in `process_route'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1021:in `block in route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1018:in `each'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1018:in `route!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1140:in `block in dispatch!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `block in invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1135:in `dispatch!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:949:in `block in call!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `block in invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `catch'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1112:in `invoke'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:949:in `call!'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:938:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/deflater.rb:44:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/xss_header.rb:18:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/path_traversal.rb:16:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/json_csrf.rb:26:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-protection-2.2.2/lib/rack/protection/frame_options.rb:31:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/logger.rb:17:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/common_logger.rb:38:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:255:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:248:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/method_override.rb:24:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:218:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1993:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1553:in `block in call'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1769:in `synchronize'
/app/vendor/bundle/ruby/2.7.0/gems/sinatra-2.2.2/lib/sinatra/base.rb:1553:in `call'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.4/lib/rack/handler/webrick.rb:95:in `service'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/httpserver.rb:140:in `service'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/httpserver.rb:96:in `run'
/app/vendor/ruby-2.7.5/lib/ruby/2.7.0/webrick/server.rb:307:in `block in start_thread'

Please sign in to comment.