Comments (2)
Updated to match current syntax and base lib:
testAny is
Any(absurd void) is
x =>
say "Hi!"
x
Now fails with a surprising error:
> ./build/bin/fz ex_40.fz
/home/fridi/fuzion/clean/fuzion.1/ex_40.fz:3:3: error 1: Feature declared using modifier 'redef' does not redefine another feature
Any(absurd void) is
--^
Redefining feature: 'testAny.Any.this.type'
To solve this, check spelling and argument count against the feature you want to redefine or remove 'redef' modifier in the declaration of 'testAny.Any.this.type'.
one error.
from fuzion.
This works now:
> PRECONDITIONS=true POSTCONDITIONS=true ./build/bin/fz ex_40.fz
Hi!
from fuzion.
Related Issues (20)
- lib: Composable Error Handling
- various issues parsing tuples
- reevaluate loop-_magic_ (automatic results of loops with e.g. until) HOT 1
- Example with infinite list results in `VerifyError: Expecting a stack map frame`
- use an ARM-runner to execute the tests
- Some numerical conversion don't check if the value fits into the target type HOT 2
- macOS: FAILED: f64: exp 1 = ℇ
- Detection of call to abstract no longer works
- segfault but check examples passes
- raise error on variable shadowing HOT 1
- java intrinsics: add functionality to cast something
- drop need for dash in first command-line arg
- Usage info `fz -h` is not pretty
- RAII (Resource Acquisition Is Initialization) in fuzion
- backend for MLIR
- merge workflows HOT 1
- macOS: action fails
- be/jvm: race condition seems to be back or still present
- get rid of global state
- unjustified "Block must end with a result expression"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzion.