-
### Describe the bug
```
struct MyStruct {
mut:
list []string
}
fn main() {
a := MyStruct{ ["aaa"] }
// a.list[0] = "### MUTATION ###" // error: `a` is immutable, declare …
-
Reproduced on version: 6ba7242
(This isn't brand new, it bit me last week when I tried to show off COSMIC Epoch at a meetup event in Sapporo.)
When logging in on VirtualBox, the entire screen is …
-
## Summary
Introduce a `Immutable` trait which indicates that a type contains no `UnsafeCell`s. Allow `FromZeros`, `FromBytes`, and `AsBytes` on types with `UnsafeCell`s and use `Immutable` as a bo…
-
**Bug Report**
`dict` literal behaves as though it is inferred to be (immutable) `Mapping`
**To Reproduce**
```python
class OrmBase:
pass
class Orm1(OrmBase):
pass
class Orm1…
-
Tracking bug for reconsidering whether we should let rooms arbitrarily change 'flavour' between 1:1, private group chat and public chatrooms. The main reason for considering preventing this is to sim…
ara4n updated
2 years ago
-
Currently, for example `map_mut` has following signature:
```rust
pub fn map_mut(self, f: F) -> OwningRefMut
where
U: ?Sized,
O: StableAddress,
F: FnOnce(&mut T) -> &mut U
```
wh…
-
During migration to spotbugs-4.4.1 in OpenDaylight we are noticing a number of new EI_EXPOSE_REP and MS_EXPOSE_REP warnings.
A large number of these are reported against types which are known to be i…
-
``` D
import vibe.data.json;
import std.stdio;
struct S
{
auto a = 1;
const b = 1;
immutable c = 1;
static d = 1;
static const e = 1;
static immutable f = 1;
}
void main()
{
…
-
I'm experimenting with using HyperLogLog (HLL) data types in some columns. One problem with these is that they take up quite a lot more space than a BIGINT. pg_shard potentially allays a lot of those …
-
[Octokit.NET](github.com/octokit/octokit.net) uses SimpleJson heavily, and with the license changes to Microsoft.Bcl.Immutable we can now use the System.Collections.Immutable namespaces rather than ou…