Skip to content
Browse files

need imports

  • Loading branch information...
1 parent a748e4a commit 1c1feaab0fc311d531a0d1f29d467488ae6c3a64 @JPMoresmau committed
View
2 ....haskell.core/src/net/sf/eclipsefp/haskell/core/internal/project/ProjectModelFilesOp.java
@@ -86,10 +86,10 @@ public void run( final IProject project,
protected String getMainFileContent(final Map<String,String> vars ) {
/** get module header **/
vars.put( TemplateVariables.MODULE_NAME, "Main" );//$NON-NLS-1$
+ vars.put( TemplateVariables.IMPORTS, "" ); //$NON-NLS-1$
String mod=HaskellCorePlugin.populateTemplate( ICorePreferenceNames.TEMPLATE_MODULE, vars );
/** get content **/
vars.put( TemplateVariables.MODULE, mod );
- vars.put( TemplateVariables.IMPORTS, "" );
return HaskellCorePlugin.populateTemplate( ICorePreferenceNames.TEMPLATE_MAIN, vars );
//return "module Main where"+PlatformUtil.NL+PlatformUtil.NL+"main::IO()"+PlatformUtil.NL+"main = undefined"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}

0 comments on commit 1c1feaa

Please sign in to comment.
Something went wrong with that request. Please try again.