1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

repl: execute REPL tests ~1.5x to 2x faster

This commit is contained in:
Delyan Angelov
2020-01-21 00:04:26 +02:00
committed by Alexander Medvednikov
parent 64a9f43405
commit d92291dd76
30 changed files with 183 additions and 198 deletions

View File

@@ -0,0 +1,5 @@
struct A { mut: v int } struct B { a A } struct C { mut: b B } struct D { mut: c C }
c2 := C{}
c2.b = B{} // Error (c2 immutable)
===output===
`c2` is immutable