switch with no case will report internal build error when compiling
2008/05/21
var foo:int = 2;
switch (foo) {
}
一定要在 switch 裡面放 case,否則編譯時會回報 internal build error。Flex Builder 不會指出是這個敘述不正確,找 error log 也看不出所以然來。
如果沒注意到這件事,會讓你 debug 很久。
標籤:
Flex
|
This entry was posted on 上午11:02
and is filed under
Flex
.
You can follow any responses to this entry through
the RSS 2.0 feed.
You can leave a response,
or trackback from your own site.
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言