froydnj@pyro:~/src/sorbet$ ./bazel-bin/main/sorbet --silence-dev-message -p desugar-tree -e 'foo(*T.unsafe(args), &blk)'
class <emptyTree><<C <root>>> < (::<todo sym>)
::<Magic>.<call-with-splat-and-block>(<self>, :foo, ::<Magic>.<splat>(<emptyTree>::<C T>.unsafe(<self>.args())), nil, <self>.blk())
end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using yarp 0.12.0 from source at `.` | |
java.lang.RuntimeException: Ruby Thread id=69 from /Users/runner/.rubies/truffleruby-23.1.0/lib/gems/gems/bundler-2.3.6/lib/bundler/worker.rb:91 terminated with internal error: | |
at org.truffleruby.core.thread.ThreadManager.printInternalError(ThreadManager.java:360) | |
at org.truffleruby.core.thread.ThreadManager.threadMain(ThreadManager.java:349) | |
at org.truffleruby.core.thread.ThreadManager.lambda$initialize$4(ThreadManager.java:320) | |
at java.base@21/java.lang.Thread.runWith(Thread.java:1596) | |
at java.base@21/java.lang.Thread.run(Thread.java:1583) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotThread.access$001(PolyglotThread.java:53) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotThread$1.execute(PolyglotThread.java:106) | |
at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.executeImpl(PolyglotThread.java:140) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/parser/Builder.cc b/parser/Builder.cc | |
index 2b5d051dc..529825cd1 100644 | |
--- a/parser/Builder.cc | |
+++ b/parser/Builder.cc | |
@@ -1549,10 +1549,15 @@ public: | |
} | |
auto *args = const_cast<node_list *>(cargs); | |
- out.reserve(args->size()); | |
- for (int i = 0; i < args->size(); i++) { |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"otherData":{"build_id":"a780f98c-4aee-4b51-9706-c5e84b85ba53","output_base":"/home/froydnj/.cache/bazel/_bazel_froydnj/c161c0eb7edcd00e8e8eaa053696c88e","date":"Tue Sep 14 12:38:36 HADT 2021"},"traceEvents":[ | |
{"name":"thread_name","ph":"M","pid":1,"tid":0,"args":{"name":"Critical Path"}}, | |
{"name":"thread_name","ph":"M","pid":1,"tid":44676,"args":{"name":"grpc-command-46"}}, | |
{"cat":"build phase marker","name":"Launch Blaze","ph":"X","ts":-12000,"dur":12000,"pid":1,"tid":44676}, | |
{"cat":"build phase marker","name":"Initialize command","ph":"i","ts":0,"pid":1,"tid":44676}, | |
{"cat":"general information","name":"BazelStartupOptionsModule.beforeCommand","ph":"X","ts":4656,"dur":6,"pid":1,"tid":44676}, | |
{"cat":"general information","name":"NoSpawnCacheModule.beforeCommand","ph":"X","ts":4675,"dur":4,"pid":1,"tid":44676}, | |
{"cat":"general information","name":"CommandLogModule.beforeCommand","ph":"X","ts":4685,"dur":1268,"pid":1,"tid":44676}, | |
{"cat":"general information","name":"SleepPrev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
<emptyTree> | |
class <emptyTree><<C <root>>> < (::<todo sym>) | |
def self.<static-init><<static-init>$152>(<blk>) | |
begin | |
::<Magic>.<define-top-class-or-module>(::A) | |
::Sorbet::Private::Static.keep_for_ide(::A) | |
<emptyTree> | |
end | |
end |
Modifying calls.cc
to:
@@ -2196,5 +2196,5 @@ public:
}
- res.returnType = Types::untypedUntracked();
+ res.returnType = Types::arrayOfUntyped();
};
} Magic_splat;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
#include "gtest/gtest.h" | |
#include "gtest/MozGTestBench.h" | |
#include "nsTArray.h" | |
#include "mozilla/HashFunctions.h" | |
#include "mozilla/OperatorNewExtensions.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import re | |
import sys | |
# nvptx preprocessor definitions. | |
SM_80 = "sm_80" | |
SM_75 = "sm_75|" + SM_80 | |
SM_72 = "sm_72|" + SM_75 | |
SM_70 = "sm_70|" + SM_72 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pair modulo0_pairs[] = { | |
{ 1, 12 }, | |
{ 2, 6 }, | |
{ 2, 12 }, | |
{ 3, 4 }, | |
{ 3, 8 }, | |
{ 3, 12 }, | |
{ 4, 3 }, | |
{ 4, 6 }, | |
{ 4, 9 }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure | |
index 7eb043e..58cdf67 100755 | |
--- a/build/moz.configure/toolchain.configure | |
+++ b/build/moz.configure/toolchain.configure | |
@@ -2031,6 +2031,12 @@ def select_linker(linker, c_compiler, developer_options, enable_gold, | |
# Check that we are trying to use a supported linker | |
die('Unsupported linker ' + linker) | |
+ if target.kernel == 'Darwin' and linker == 'ld64': | |
+ return namespace( |
NewerOlder