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

minor regex cleanup #88026

Merged
merged 16 commits into from
Jun 27, 2023
Merged

minor regex cleanup #88026

merged 16 commits into from
Jun 27, 2023

Conversation

danmoseley
Copy link
Member

@danmoseley danmoseley commented Jun 25, 2023

some odds and ends from old branches.

  1. remove dead string
  2. improve node description
  3. improve assertion message
  4. inline some methods for clarity/consistency
  5. improve intellisense for regexrunner fields
  6. spacing some comments.
  7. rename a method to match its job
  8. add a couple tests (the bug they were for is gone, but they seem to fit)

@ghost
Copy link

ghost commented Jun 25, 2023

Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.

Issue Details
  1. remove dead string
  2. improve node description
  3. improve assertion message
  4. inline some methods for clarity/consistency
  5. improve intellisense for regexrunner fields
  6. spacing some comments.
  7. rename a method to match its job
  8. add a couple tests (the bug they were for is gone, but they seem to fit)
Author: danmoseley
Assignees: danmoseley
Labels:

area-System.Text.RegularExpressions

Milestone: -

danmoseley and others added 5 commits June 26, 2023 16:13
…egularExpressions/RegexRunner.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
…egularExpressions/RegexRunner.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
…egularExpressions/RegexRunner.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
…egularExpressions/RegexRunner.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
@danmoseley
Copy link
Member Author

feedback addressed

@danmoseley
Copy link
Member Author

@lewing the "wasm smoke" failed as below. not sure whether I should create an issue, as it's "smoke"

function[8227]:0x204ec5)\n    at mono_background_exec (http://127.0.0.1:36683/dotnet.native.wasm:wasm-function[746]:0x46fa6)\n    at Ts (http://127.0.0.1:36683/dotnet.runtime.js:3:63074)"
[22:00:06] fail: [out of order message from the browser]: http://127.0.0.1:36683/dotnet.runtime.js 2:36671 Uncaught ManagedError: Error: Assert failed: ES6 module ./fetchelper.js w…83/dotnet.native.wasm:wasm-function[2384]:0xc15fe
[22:00:06] info: smoke: FetchBackground 2 ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[22:00:06] info: smoke: FetchBackground 3A ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[22:00:06] info: smoke: FetchBackground 3B ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[22:00:06] info: smoke: FetchBackground 4 ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[22:00:06] info: smoke: FetchBackground 5 ManagedThreadId:19, SynchronizationContext: System.Runtime.InteropServices.JavaScript.JSSynchronizationContext
[22:00:06] info: http://127.0.0.1:36683/dotnet.runtime.js 2 Error: Assert failed: ES6 module ./fetchelper.js was not imported yet, please call JSHost.ImportAsync() first.
[22:00:06] info: http://127.0.0.1:36683/dotnet.runtime.js 2 MONO_WASM [0x2d94488]: Proxy of JS object with JSHandleandle 1 was still alive
[22:00:06] info: WASM EXIT 2
[22:00:06] info: Waiting to flush log messages with a timeout of 120 secs ..
[22:00:06] fail: [out of order message from the browser]: http://127.0.0.1:36683/dotnet.js 2:214 Uncaught ManagedError: Error: Assert failed: ES6 module ./fetchelper.js w…83/dotnet.native.wasm:wasm-function[2384]:0xc15fe
[22:00:06] fail: Application has finished with exit code HELP_SHOWN but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)
/root/helix/work/workitem/e /root/helix/work/workitem/e

@danmoseley danmoseley merged commit e685ff9 into dotnet:main Jun 27, 2023
@danmoseley danmoseley deleted the odds branch June 27, 2023 03:42
@ghost ghost locked as resolved and limited conversation to collaborators Jul 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants