Skip to content

Conversation

schroederc
Copy link
Contributor

No description provided.

@schroederc schroederc requested a review from a team February 26, 2024 19:27
@schroederc schroederc enabled auto-merge (squash) February 26, 2024 19:27
@shahms
Copy link
Contributor

shahms commented Feb 26, 2024

ERROR: Traceback (most recent call last):
	File "/workspace/kythe/go/indexer/BUILD", line 411, column 21, in <toplevel>
		flag_constructor(
	File "/workspace/kythe/go/indexer/flags.bzl", line 15, column 29, in flag_constructor
		return proto.encode_text(struct(
Error in encode_text: in struct field .var_arg_position: got NoneType, want string, int, bool, or struct
ERROR: package contains errors: kythe/go/indexer
ERROR: package contains errors: kythe/go/indexer: Traceback (most recent call last):
	File "/workspace/kythe/go/indexer/BUILD", line 411, column 21, in <toplevel>
		flag_constructor(
	File "/workspace/kythe/go/indexer/flags.bzl", line 15, column 29, in flag_constructor
		return proto.encode_text(struct(
Error in encode_text: in struct field .var_arg_position: got NoneType, want string, int, bool, or struct
ERROR: Error evaluating '//...': error loading package 'kythe/go/indexer': Package 'kythe/go/indexer' contains errors

@schroederc
Copy link
Contributor Author

Seems like behavior differs between Bazel 6 and 7 on this.

@schroederc schroederc disabled auto-merge February 26, 2024 20:20
@schroederc schroederc enabled auto-merge (squash) February 26, 2024 20:53
@schroederc schroederc merged commit 02543b1 into kythe:master Feb 26, 2024
@schroederc schroederc deleted the go-var-flags branch February 26, 2024 21:03
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.

2 participants