Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

doc,quic: update BigInt type to lowercase #385

Closed
wants to merge 1 commit into from
Closed

doc,quic: update BigInt type to lowercase #385

wants to merge 1 commit into from

Conversation

danbev
Copy link
Contributor

@danbev danbev commented May 8, 2020

Currently the doc target fails with the following error:

Error: Unrecognized type: 'BigInt'.
Please, edit the type or update the 'tools/doc/type-parser.js'.
    at /quic/quic/tools/doc/type-parser.js:199:15
    at Array.forEach (<anonymous>)
    at Object.toLink (/quic/tools/doc/type-parser.js:175:13)
    at /quic/quic/tools/doc/html.js:164:59
    at Array.forEach (<anonymous>)
    at linkJsTypeDocs (/quic/quic/tools/doc/html.js:163:19)
    at /quic/tools/doc/html.js:111:23

This commit updates the types of BigInt to be lowercase which is how it
is defined in type-parser.js. I would have thought using 'BigInt' would
have been better but there might be a reason for this that I'm unware of
('bigint' is used in other files).

With this commit the build passes and I'll look into why this type is
lowercase and suggest fixing it in upstream/master.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Currently the doc target fails with the following error:
Error: Unrecognized type: 'BigInt'.
Please, edit the type or update the 'tools/doc/type-parser.js'.
    at /quic/quic/tools/doc/type-parser.js:199:15
    at Array.forEach (<anonymous>)
    at Object.toLink (/quic/tools/doc/type-parser.js:175:13)
    at /quic/quic/tools/doc/html.js:164:59
    at Array.forEach (<anonymous>)
    at linkJsTypeDocs (/quic/quic/tools/doc/html.js:163:19)
    at /quic/tools/doc/html.js:111:23

This commit updates the types of BigInt to be lowercase which is how it
is defined in type-parser.js. I would have thought using 'BigInt' would
have been better but there might be a reason for this that I'm unware of
('bigint' is used in other files).

With this commit the build passes and I'll look into why this type is
lowercase and suggest fixing it in upstream/master.
danbev added a commit that referenced this pull request May 8, 2020
Currently the doc target fails with the following error:
Error: Unrecognized type: 'BigInt'.
Please, edit the type or update the 'tools/doc/type-parser.js'.
    at /quic/quic/tools/doc/type-parser.js:199:15
    at Array.forEach (<anonymous>)
    at Object.toLink (/quic/tools/doc/type-parser.js:175:13)
    at /quic/quic/tools/doc/html.js:164:59
    at Array.forEach (<anonymous>)
    at linkJsTypeDocs (/quic/quic/tools/doc/html.js:163:19)
    at /quic/tools/doc/html.js:111:23

This commit updates the types of BigInt to be lowercase which is how it
is defined in type-parser.js. I would have thought using 'BigInt' would
have been better but there might be a reason for this that I'm unware of
('bigint' is used in other files).

With this commit the build passes and I'll look into why this type is
lowercase and suggest fixing it in upstream/master.

PR-URL: #385
Reviewed-By: James M Snell <jasnell@gmail.com>
@danbev
Copy link
Contributor Author

danbev commented May 8, 2020

Landed in 5baab3f

@danbev danbev closed this May 8, 2020
@danbev danbev deleted the doc-type-bigint branch May 8, 2020 10:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants