 typeEnumaration = (ctx) ->
   values mapMap _type, ctx._scope()
 
+toJs = (compileFn, source) ->
+  (compileToJs compileFn, "(#{source})", -1, -1)?.js
+
 compileToJs = (compileFn, source, posOffset = 0, depthOffset = 0) ->
   compileAstToJs compileFn, (astFromSource source, posOffset, depthOffset)
 

          [[(validIdentifier symbol), exp]]
  else
    # Name typed, use a fresh instance
    if contextType and contextType not instanceof TempType
      type = freshInstance ctx, contextType
      {


testNamed = (givenName) ->
  for [name, source, expression, result] in tuplize 4, tests when name is givenName
    return source + "\n" + "_ " + expression
  throw new Error "Test #{givenName} not found!"

logError = (message, error) ->
