Fix module naming

This commit is contained in:
Joey Yakimowich-Payne 2018-06-21 18:33:19 +09:00
commit ca83d7a81e
3 changed files with 8 additions and 8 deletions

View file

@ -1,8 +1,8 @@
# Package
version = "0.1.0"
author = "CodeDoes"
description = "OOP macro"
version = "0.2.0"
author = "Joey Yakimowich-Payne"
description = "Nim extensions"
license = "MIT"
srcDir = "src"

View file

@ -1,8 +1,8 @@
import oop_macro
import extensions/oop_macro
import strutils
var
var
output = ""
class Animal of RootObj:
@ -10,7 +10,7 @@ class Animal of RootObj:
name: string
age: int
method init*(name: string, age: int){.base.}=
self.name = name
self.age = age
@ -63,4 +63,4 @@ echo check
echo "####"
echo output
echo "####"
doAssert(output==check,"""echo matches""")
doAssert(output==check,"""echo matches""")