Closed zxytim closed 11 years ago
Thank you, this bug has been fixed.
[static]
void func()
printf("hello world!\n")
[static]
x: int = 0
class Test
[static]
x: int
[static]
void func()
printf("hello world!\n")
test.h
#pragma once
class Test {
static int x;
static void func();
};
test.cpp
#include "test.h"
static void func() {
printf("hello world!\n");
}
static int x = 0;
void Test::func() {
printf("hello world!\n");
}
x.sc
instead of compiling to
x.h
x.cpp
it should compile to x.h
x.cpp