2020-01-22 21:32:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
<!--
|
2019-09-05 10:11:23 +02:00
|
|
|
|
2020-02-09 15:41:19 +01:00
|
|
|
Please title your PR as follows: `time: fix foo bar`.
|
2019-12-01 10:50:13 +01:00
|
|
|
Always start with the thing you are fixing, then describe the fix.
|
2019-06-26 15:54:58 +02:00
|
|
|
Don't use past tense (e.g. "fixed foo bar").
|
2019-06-26 13:42:56 +02:00
|
|
|
|
|
|
|
Explain what your PR does and why.
|
2019-06-26 13:39:38 +02:00
|
|
|
|
2019-06-29 16:50:13 +02:00
|
|
|
If you are adding a new function, please document it and add tests:
|
|
|
|
|
|
|
|
```
|
|
|
|
// foo does foo and bar
|
|
|
|
fn foo() {
|
|
|
|
|
|
|
|
// file_test.v
|
|
|
|
fn test_foo() {
|
|
|
|
assert foo() == ...
|
|
|
|
...
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2019-09-29 03:28:57 +02:00
|
|
|
If you are fixing a bug, please add a test that covers it.
|
|
|
|
|
2019-12-01 10:50:13 +01:00
|
|
|
Before submitting a PR, please:
|
|
|
|
A) run the tests with `v test-compiler` .
|
|
|
|
B) make sure, that V can still compile itself:
|
|
|
|
```shell
|
2020-02-09 15:41:19 +01:00
|
|
|
./v -o v cmd/v
|
|
|
|
./v -o v cmd/v
|
2019-12-01 10:50:13 +01:00
|
|
|
```
|
2019-06-26 13:39:38 +02:00
|
|
|
|
2019-06-26 13:53:42 +02:00
|
|
|
I try to process PRs as soon as possible. They should be handled within 24 hours.
|
|
|
|
|
2019-06-26 16:43:12 +02:00
|
|
|
Applying labels to PRs is not needed.
|
|
|
|
|
2019-06-26 13:39:38 +02:00
|
|
|
Thanks a lot for your contribution!
|
2020-01-22 21:32:41 +01:00
|
|
|
|
2020-02-09 15:41:19 +01:00
|
|
|
-->
|