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

Editions Suport #1976

Open
Jde-cpp opened this issue Mar 9, 2024 · 0 comments
Open

Editions Suport #1976

Jde-cpp opened this issue Mar 9, 2024 · 0 comments

Comments

@Jde-cpp
Copy link

Jde-cpp commented Mar 9, 2024

protobuf.js version: 7.2.6

Expected: compile source with editions https://protobuf.dev/editions/overview/
Actual: Fails.

edition = "2023";
message Player {}
Error: illegal token 'edition' (Player.proto, line 8)
    at illegal (/usr/lib/node_modules/protobufjs-cli/node_modules/protobufjs/src/parse.js:96:16)
    at parse (/usr/lib/node_modules/protobufjs-cli/node_modules/protobufjs/src/parse.js:820:23)
    at process (/usr/lib/node_modules/protobufjs-cli/node_modules/protobufjs/src/root.js:127:30)
    at fetch (/usr/lib/node_modules/protobufjs-cli/node_modules/protobufjs/src/root.js:178:13)
    at Root.load (/usr/lib/node_modules/protobufjs-cli/node_modules/protobufjs/src/root.js:206:13)
    at Root.loadSync (/usr/lib/node_modules/protobufjs-cli/node_modules/protobufjs/src/root.js:247:17)
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

No branches or pull requests

1 participant