Skip to content

improve --print with promises - #9407

Merged
Jarred-Sumner merged 3 commits into
mainfrom
dylan/then-print-promise
Mar 15, 2024
Merged

Jarred-Sumner merged 3 commits into
mainfrom
dylan/then-print-promise

Conversation

@dylan-conway

Copy link
Copy Markdown
Member

What does this PR do?

enables bun-debug --print "Bun.$`bat CMakeList.txt`.text()"

How did you verify your code works?

tested manually

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

❌🪟 @dylan-conway, there are 11 test regressions on Windows x86_64

  • test\cli\install\migration\migrate.test.ts
  • test\cli\run\env.test.ts
  • test\cli\run\run-process-env.test.ts
  • test\cli\run\transpiler-cache.test.ts
  • test\js\bun\http\bun-server.test.ts
  • test\js\bun\http\fetch-file-upload.test.ts
  • test\js\node\dns\node-dns.test.js
  • test\js\third_party\es-module-lexer\es-module-lexer.test.ts
  • test\js\web\fetch\body-stream.test.ts
  • test\js\web\websocket\websocket.test.js
  • test\transpiler\template-literal.test.ts

Full Test Output

@github-actions

Copy link
Copy Markdown
Contributor

@Jarred-Sumner
Jarred-Sumner merged commit 1e090a7 into main Mar 15, 2024
@Jarred-Sumner
Jarred-Sumner deleted the dylan/then-print-promise branch March 15, 2024 02:26
Bun__onRejectEntryPointResult,
};
static constexpr size_t promiseFunctionsSize = 24;
static constexpr size_t promiseFunctionsSize = 26;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@dylan-conway What's the promiseFunctionsSize account for?

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 this pull request may close these issues.

3 participants