Laurent Le Brun

Results 51 issues of Laurent Le Brun

I see lots of Windows failures on this pipeline: https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/579 For example, I see 7 failures for the flag `incompatible_string_replace_count`, all of them seem flaky. Examples of error messages: >...

https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/591#453ea8eb-ade6-4be8-978f-97cdf1217910 The aggregation step fails due to timeouts ``` File "/workdir/bazelci.py", line 599, in _open_url --   | urllib.request.urlopen("{}?access_token={}{}".format(url, self._token, params_str))   | File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen   | return opener.open(url,...

I don't get syntax highlighting only in `BUILD` files (language mode defaults to "Plain text"). If I rename my file to `BUILD.bazel`, the syntax highlighting turns on.

type: bug
P2

The code: ```python print(foo) ``` could generate a warning that `foo` is undefined. It's useful in IDEs to get the information quickly (before even running the code).

Hi, Thanks to @DanielEliad's PR (#51), I've noticed the LSP code in the repo. It's very nice to see an update on this! I think it's important to keep the...

Tested on vscode.dev ## The code with a problem is: ```c++ int main() { a_long_variable_name [field_index] += some_object->field; random_cpp_code(with_bad_highlighting); } ``` ## It looks like: ![image](https://user-images.githubusercontent.com/485572/235905481-eb6ed437-a81e-422b-8649-f1e1d9193584.png) Notice that the last...

Tools that generate or minify Javascript generate a source map. This is used e.g. by Javascript debuggers to show the original source code. If Shader Minifier could generate the same...

We could provide a better, documented API usable from C#. This would help tools minify code without having to call the .exe (and saving content to disk and parsing error...

```glsl out vec4 fragColor; const float t = 1.5+(1.+.5); void main() { fragColor = vec4(t); } ``` Shader Minifier doesn't inline `t` here (except with `--aggressive-inlining`). After simplifying the expression,...

If there's a `#define` in a file, but the macro is not used anywhere, we should delete it. With the preprocessor, this will become common: ```glsl #define PRETTIER 1 #ifdef...