-
In GitLab by @f.dommes on Nov 30, 2022, 11:20
_Merges flix/upgrade -> main_
The new opentelemetry does varous things differently, so I am really unsure whether this is the correct construction setti…
-
-
我的本地项目如果以com为开头。我发现Nacos就会去加载本地项目中是否包含com.netflix.client.config.IClientConfig这个类。
如果没有,就会报错。最简单的解决方案就是不以com为开头作为包路径。
我想了解下为什么会有这样的机制。
My local project starts with com. I found Nacos will be wheth…
-
If the programmer re-uses `Cons`, this causes the behaviour of `::` to change:
```
namespace A {
enum MyType { case Cons(Int32, MyType) }
pub def foo(): List[Int32] = 1 :: Nil
}
``…
-
running `f` is okay, `bug` has the jvm error (`java.lang.ClassCastException: class List%Nil%Obj cannot be cast to class dev.flix.runtime.Unit`)
```
def bug(): Unit = {
() |> f
}
def f(): Un…
-
The Great Renaming:
Decided:
```
- Array.sortBy -> Array.sorthWith
- Array.sortBy! -> Array.sorthWith!
- MutSet.add -> MutSet.add!
- MutSet.addAll -> MutSet.addAll!
- MutSet.clear -> MutSet.c…
-
The type error message
```
>> Unable to unify the types: 'Region' and 'DelayList'.
1311 | DelayList.toIterator(ENil: DelayList[Unit]) |> Iterator.toList == Nil
^^^^^^^^^^^^^^^^^…
-
This may be a regression (I seem to recall this working before, but can't be sure). Clicking on "run" below:
Results in:
```
flix> :eval JavaUtils.testFindMatches()
-- Resolution Error ---…
-
- [ ] Add `Test.Exp.Reify.flix` tests.
- [ ] Add `Test.Exp.ReifyBool.flix` tests.
- [ ] Add `Test.Exp.ReifyEff.flix` tests.
- [x] #2427
-
Actionable Steps:
- [x] Modify `Sender[t]` and `Receiver[t]` types to carry a region (e.g. `Sender[t, r]`).
- [x] Modify `Channel.{buffered, unbuffered}` to take a region parameters.
- [x] Modify a…