forked from JPMoresmau/eclipsefp
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug introduced with the gadt fix
darcs-hash:20060209142952-49d33-42e1414b77794f911b6d661388ca6b7dc0d399f7.gz
- Loading branch information
1 parent
ec786f4
commit 6e8b306
Showing
4 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...p.haskell.core.jparser/src/net/sf/eclipsefp/haskell/core/jparser/NullDataDeclaration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
package net.sf.eclipsefp.haskell.core.jparser; | ||
|
||
import de.leiffrenzel.fp.haskell.core.halamo.IConstructor; | ||
import net.sf.eclipsefp.haskell.core.jparser.ast.DataDeclaration; | ||
|
||
class NullDataDeclaration extends DataDeclaration { | ||
|
||
@Override | ||
public boolean accepts(IConstructor cons) { | ||
return false; | ||
} | ||
|
||
} |