nit icon indicating copy to clipboard operation
nit copied to clipboard

Nit language

Results 100 nit issues
Sort by recently updated
recently updated
newest added

I'm testing the F-Droid repositories listed [here](https://forum.f-droid.org/t/known-repositories/721), and it seems that [NitLanguage's one](https://nitlanguage.org/fdroid/) could not be properly read by F-Droid app. Thank you!

This PR changes the way `NativeArrays` are enlarged to avoid pre-allocating too much for small arrays. This is the same kind of optimization as on `FlatBuffer` for similar cases.

need_work
ok_to_test

This pr adds invariant feature. # Annotations To define a new class contract you need to use the `invariant` annotation. The principle is the same as the other contract `expect`...

need_review
tests_are_ok
ok_to_test

This pr add contract usage in lib/core/collection. All assert that was used as a pre-post condition are replaced by contracts expects ensures.

need_review
ok_to_test

This pr makes it possible to prevent that contracts in different threads to interfere with the same flag to know if a contract evaluation should be performed. Instead of using...

need_review
tests_are_ok
ok_to_test

Here is the documentation for contracts. This is a little ahead of the current state of contracts.

need_review

This PR introduces callref without receiver. Here's an example : ~~~nit import functional class A var x: Int fun toto: Int do return x + 1 end var a =...

ok_to_test

Here's the minimal code to reproduce the error : ~~~~nit class A var x: Int end class B var a: nullable A = null end var b = new B...

bug