UBC-Stat-ML / blangDSL

Blang core (parsing, generation, eclipse plug-in)
https://www.stat.ubc.ca/~bouchard/blang/
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

Empty model produces invalid code #17

Closed alexandrebouchard closed 8 years ago

alexandrebouchard commented 8 years ago

The empty model:

model {
}

produces

import blang.core.Model;

@SuppressWarnings("all")
public class MyFile implements Model {
}

which does not compile because it does not override abstract method components().

alexandrebouchard commented 8 years ago

Resolved. Empty laws block required in this case though.