-
I stumbled upon this trying to write a function that generically takes a range (or something else with which `str` can be indexed), and slices a str with that range. I got that to work, this bug comes…
-
New to Java 8, the AnnotatedType class carries annotations bind to types in Generic expressions.
So if I write
```
@MaxLength(3) List myField;
```
I can get the `@NotNull` annotation via something l…
-
It turns out to be trivial (#191) to add encapsulated methods to R7 (i.e. methods that belong to the class/object):
```R
foo
-
Using a script doing a bit of regex search and repace and manually adding the tokens from the lexer we can get an `EBNF` understood by (IPV6) https://www.bottlecaps.de/rr/ui or (IPV4) https://rr.red-d…
-
### 🔎 Search Terms
implicit 'any' method parameter inferred generic type
### 🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries a…
-
In the current compiler, scopeResolve is responsible for adding the implicit `this.` to a method call within a method. That's not happening if the method called is a forwarded method, because scope re…
-
Given the following code:
I had a trait that was originally defined like this:
```rust
pub trait LoadSources {
fn def_file_for_type(&mut self, path: P) -> Result
where
P…
-
Arua provides three types of comments: `#` for general comments, `#:` for documentation comments, and `##` for header comments.
All comments must start with one of the three variations above, with no…
-
Programs fail to compile when including Accounts structs from other modules than main `lib`. Not sure if this is a bug or feature. I asked on Discord but no one replied. Common use cases would be sane…
-
I tried to compile this code:
```rust
#![feature(generic_associated_types)]
trait Scanner {
type Input;
fn scan) -> Self::Token = &'a str;
type Token &'a str {
…
ear7h updated
1 month ago