Fridtjof Siebert

Results 135 issues of Fridtjof Siebert

See this definition of `num.sign.is_plus` that should exist in parallel to the same named feature of the base lib: ``` > ./build/bin/fz -e "num.sign.is_plus => true" command line:1:10: error 1:...

bug
front end

This small example defines feature `a` that receives an argument of type `S type : Sequence U`, but if `U` is `bool`, then `S` might be `Seqence i32`: ``` a(U...

bug
front end

Check this example that uses qualified type parameters in `d`, `e`, `f` and`e`: ``` test_generics is a(X, Y type, v X, w Y, o option X, a Sequence Y) is...

bug
enhancement
front end

Currently, there is no `monad.bind`. There is a `outcome.bind`, but this a `monad.infix >>=~`, but this is not implemented by monads like `outcome` and it has some drawbacks: the type...

enhancement
base library

This ``` f(a T, b T->T) => b a x := 42 y := f x v->2*v say y ``` works ``` > ./build/bin/fz test_lambda.fz 84 ``` but using parentheses...

bug
Fuzion language
parser

Try this ``` > ./build/bin/fz -e 'n => n' ``` does not finish... This is not a bug, type inference determines the result of of `n` to be `void` and...

enhancement
optimizer/analyzer

This small example ``` testxy is type.x => option y nil type.y is ``` either crashes `fz` if pre/postconditions are enabled: ``` > PRECONDITIONS=true POSTCONDITIONS=true ../clean/fuzion/build/bin/fz testxy.fz error 1: java.lang.Error:...

bug
front end

This ``` e : effect is stop => e.type.abort e.this ``` results in the following error ``` > ../clean/fuzion/build/bin/fz test_e_this.fz /home/fridi/fuzion/work/test_e_this.fz:3:24: error 1: Incompatible types when passing argument in a...

enhancement
front end

Use this code ``` e is type.p e.this => do type.b unit => p unit ``` to get ``` > PRECONDITIONS=true POSTCONDITIONS=true ./build/bin/fz test_e.fz error 1: java.lang.Error: check-condition failed: ResolvedParametricType.java:122...

bug
front end

Try this: ``` > PRECONDITIONS=true POSTCONDITIONS=true ./build/bin/fz -e "_ := io.out.env" error 1: java.lang.Error: check-condition failed: Clazzes.java:841 "(Errors.any() || i < afs.length);" at dev.flang.util.ANY.check(ANY.java:440) at dev.flang.air.Clazzes.findClazzes(Clazzes.java:841) at dev.flang.air.Clazz$EV.action(Clazz.java:138) at dev.flang.ast.Expr.visitExpressions(Expr.java:329)...

bug
middle end