Skip to content

Commit

Permalink
Fix formatting and compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
plietar committed May 5, 2017
1 parent ac55cbe commit 294e549
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/buffered/_test.pony
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class iso _TestWriter is UnitTest
[as U8: '\n'; 't'; 'h'; 'e']
[as U8: 'r'; 'e'; '\r'; '\n']] end)

let wb' : Array[(String val | Array[U8 val] val)] ref = wb.done()
let wb': Array[(String val | Array[U8 val] val)] ref = wb.done()
for bs in wb'.values() do
try
b.append(bs as Array[U8] val)
Expand Down
2 changes: 1 addition & 1 deletion packages/files/directory.pony
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class Directory
if fi.directory and not fi.symlink then
let directory = open(target)

let dir_entries : Array[String] ref = directory.entries()
let dir_entries: Array[String] ref = directory.entries()
for entry in dir_entries.values() do
if not directory.remove(entry) then
return false
Expand Down
2 changes: 1 addition & 1 deletion packages/files/file_path.pony
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class val FilePath
if info.directory and not info.symlink then
let directory = Directory(this)

let entries : Array[String] ref = directory.entries()
let entries: Array[String] ref = directory.entries()
for entry in entries.values() do
if not join(entry).remove() then
return false
Expand Down
2 changes: 1 addition & 1 deletion packages/term/ansi_term.pony
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ actor ANSITerm
return
end

let data' : Array[U8] ref = consume data
let data': Array[U8] ref = consume data
for c in data'.values() do
match _escape
| _EscapeNone =>
Expand Down
2 changes: 1 addition & 1 deletion src/libponyc/type/reify.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

static ast_t* find_typearg(pass_opt_t* opt, ast_t* ast, ast_t* typeparams, ast_t* typeargs)
{
ast_t* ref_def;
ast_t* ref_def = NULL;
switch(ast_id(ast))
{
case TK_REFERENCE:
Expand Down

0 comments on commit 294e549

Please sign in to comment.